IEEE-754 Floating-Point Conversion from Floating-Point to Hexadecimal

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:

Comments

Popular