how to convert -2.5 into binary number?

i can convert 2.5, 2, -2 decimal values into binary number but when converting -2.5 binary output is same as 2.5 value,please help me

2 件のコメント

Geoff Hayes
Geoff Hayes 2014 年 6 月 13 日
What is the code that you are using to convert these numbers into binary?
dpb
dpb 2014 年 6 月 13 日
What form of a binary number do you expect for a floating point value? IEEE-754 single, double, some other encoding????

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

質問済み:

2014 年 6 月 13 日

コメント済み:

dpb
2014 年 6 月 13 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by