Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google site




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-01-2009
Zephyr Zephyr is offline
Registered User
 

Join Date: Jun 2009
Posts: 4
Using binary representation of IEEE 754

Hi!

What is the way to get the binary representation of a IEEE 754 (like 0001110110001111010101100111001011100100101010111101) without using perl. Bash for example, would be fine.

I need to put that representation in a string for some operation and then to put that string back in a float.

I understand that for that last part I just need add zero to the string and it would become a float again.
Sponsored Links