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 Exchange에서 Data 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