32 Bit Single Precision Applet

Enter a decimal (real) number into the field labeled "Decimal" and press "toFloat" to convert it into the "IEEE 754 floating point single-precision" bit layout.

Enter "NaN" into the field labeled "Decimal" and press "toFloat" to see how Not-a-Number values are represented in IEEE 754.

Enter "Infinity" or "-Infinity" into the field labeled "Decimal" and press "toFloat" to see how the bits for infinite values are represented in IEEE 754.

 

© Werner & Walter Randelshofer. All rights reserved.