Jump to content

IEEE 754

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts
How to convert hexadecimal to IEEE 754 ? If I have 3F880000 how convert to IEE 754. Thanks

#2
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts
I correct ??

3F880000

In binary => 0011111110000000000000000000

Normalizing

1,111110000000000000000000 x 2^24

e = 127 + 24 = 151

151 to binary = 10010111

Bit signal = 0

In single-precision:

0 10010111 11111000000000000000000

#3
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts
Please it is correct ?

#4
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,721 posts
No. The binary representation is actually 1111111111100010000000000000000000.
sudo rm -rf /