Floating-Point Conversion
Decimal-Floating-Point
brought to you by codeleakers.com
Enter a decimal floating-point number here,
then click to calculate.

Decimal to be converted to float:


Floating Point Hexadecimal:   Decimal:

back to codeleakers.com

 

 

 

 

 

 

 

 

 

 

 


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