CSC161 2010F Imperative Problem Solving

Class 13: IEEE Floating Point Representation

Back to Binary Representation and Bitwise Operators. On to Operators and Precedence.

This outline is also available in PDF.

Held: Friday, 17 September 2010

Summary: We consider issues in the representation of real numbers, focusing on the design decisions in the IEEE floating-point representation.

Related Pages:



Bitwise Operations in C




The Problem of Real Numbers

Representing Reals

One approach: Rational numbers

Another approach: Fixed precision

Detour: Scientific Notation

IEE Single-Precision Floating-Point Numbers

Special Cases

Special Case: Representing Small Values

Special Case: Error Values


Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Wed Dec 8 10:57:06 2010.
The source to the document was last modified on Fri Aug 13 15:41:46 2010.
This document may be found at

Samuel A. Rebelsky,