Lecture10 - IEEE Standard for Double Precision(B= 2 64 bit...

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

View Full Document Right Arrow Icon
IEEE Standard for Double Precision (B= 2) 64 bit : S EE…EEEE FFFFFFFFF…FFFFFFFFFF F 0 1 11 12 63 X= B m (mantisa)    L    U Total Length IEEE Single P 2 23 -126 127 32 IEEE Double P 2 52 -1022 1023 64 SP: 23 bits go to the PRECISION ( F ) 8 bits go to the RANGE for L or U ( E ) 1 bit goes to the SIGN ( S ) add 32 bits for single precision representation DP: 64 = 52 (m) + 11 (e) + 1 (S) Note: if e>U then x = NaN => overflow… danger!!!
Background image of page 1

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

View Full DocumentRight Arrow Icon
Disasters Caused by Comp. Arithmetic Error On June 4, 1996, an unmanned Ariane 5 rocket was launched. The rocket was on course for 36 seconds and then veered off and crashed The internal reference system was trying to convert a 64-bit floating point number to a 16-bit integer . This caused an overflow which was sent to the onboard computer. The on-board computer interpreted the overflow as real flight data and bad things happened. The destroyed rocket and its cargo were valued at $500 million.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/05/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Page1 / 6

Lecture10 - IEEE Standard for Double Precision(B= 2 64 bit...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online