Next: More about types Up: Data representation Previous: Representing integers

Representing floating point numbers

C does not define the form, but IEEE is becoming near universal.

IEEE

Exponent/Mantissa. Fraction Base Exponent. Exp 11 (8) bits. Fraction 53 (24) bits. Base= 2. Exponent goes from -1022 to 1023 (-126 to 127).



Next: More about types Up: Data representation Previous: Representing integers


maspjw@
Tue Sep 27 15:29:34 BST 1994