Link to home
Start Free TrialLog in
Avatar of jctank88
jctank88

asked on

convert decimal to floating point numbers in 32 bit IEEE 754

Help! how to convert 0.00032 to floating point numbers in 32 bit IEEE 754?
I know the basics, but 0.00032 seems cannot perfectly represent in IEEE 754. Please show your steps. Thanks a lot.
Avatar of ozo
ozo
Flag of United States of America image

Sign 0
Exponent 01110011
Significand 1 .01001111100010110101100
hex
39A7C5AC
= 0.000319999991916120052337646484375
Avatar of jctank88
jctank88

ASKER

Thanks, ozo. There's a lot of online converters that shows the same result, what i want to know is the technique used to solve this problem. Could you show me the steps, thanks.
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial