{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

FloatingPointNumbersandArithmetic

FloatingPointNumbersandArithmetic - O verview of Floating...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Overview of Floating Point Numbers and Floating Point Arithmetic 1. Some IEEE Standard Floating Point Constants: "O verflow" Largest storable value (single precision) 128 2 , which is about 38 3.4 10 . "Underflow" Smallest storable value (single precision) 126 2 , which is about 38 1.2 10 . Precision (single precision) 24 bits which is about 7.2 decimal digits "O verflow" Largest storable value (double precision) 1024 2 , which is about 308 1.8 10 . "Underflow" Smallest storable value (double precision 1022 2 , which is about 308 2.2 10 . Precision (double precision) 52 bits which is about 15.7 decimal digits 2. How is floating point arithmetic done? How it is done is boring, boring, boring. One can know the architectural details and yet have no understanding of the consequences. Thus, I will not tell you how it is done in hardware, but rather how you may simulate it with pencil and paper. Imagine that the machine is decimal rather binary and further imagine that the single
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}