conversion of floating point variable into IEEE-754 32-bit binary

Hello All,
I am searching for an algorithm for converting a floating point decimal (-118.625) into a IEEE Standard for Binary Floating-Point Arithmetic (IEEE-754) 32-bit binary equivalent (0xC2ED4000 in HEX) and for 118.625 it should convert it into 0x42ED4000. Please tell me, from where i can get those types of Algorithms. I have written it, but it is not as efficient as I want.
Thanking you ALL.



Regards,
Sanjaykumar T.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories