IEEE-754 Floating-Point Conversion
From Decimal Floating-Point
To 32-bit and 64-bit Hexadecimal Representations
Along with Their Binary Equivalents

Enter a decimal floating-point number here,
then click either the Rounded or the Not Rounded button.

Decimal Floating-Point:



Rounding from floating-point to 32-bit representation uses the IEEE-754 round-to-nearest-value mode.


Results:

Decimal Value Entered:


Single precision (32 bits):

Binary:     Status:

Bit 31
Sign Bit

0: +
1: -
 
Bits 30 - 23
Exponent Field

Decimal value of exponent field and exponent
 - 127 = 
 
Bits 22 - 0
Significand

Decimal value of the significand

Hexadecimal:   Decimal:



Double precision (64 bits):

Binary:     Status:

Bit 63
Sign Bit

0: +
1: -
 
Bits 62 - 52
Exponent Field

Decimal value of exponent field and exponent
 - 1023 = 
 
Bits 51 - 0
Significand

Decimal value of the significand

Hexadecimal:   Decimal:



[ Convert IEEE-754 32-bit Hexadecimal Representations to Decimal Floating-Point Numbers. ]
[ Convert IEEE-754 64-bit Hexadecimal Representations to Decimal Floating-Point Numbers. ]
[ Reference Material on the IEEE-754 Standard. ]
[ Dr. Vickery’s Home Page. ]


February 1998
This page was created by a Queens College undergraduate, Quanfei Wen, a member of PBK and UPE.

September 1998
The page was revised significantly by Kevin J. Brewer of Delco Electronics, who added several features and made significant improvements in how well the JavaScript code adheres to the IEEE-754 standard.