{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecture31 - 0306-250 Assembly Language Programming Lecture...

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

View Full Document Right Arrow Icon
0306-250 Assembly Language Programming Lecture Thirty-One Floating-Point Representation
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
C Floating-Point Numbers (Platform Dependent) 2 Intel processors (in general) • float IEEE-754 single precision (32 bits) • double IEEE-754 double precision (64 bits) • long double Intel IA-32 double extended precision (80 bits, but may be stored in 96 or 128 bits)
Background image of page 2
Floating-Point Nomenclature 3 Decimal Scientific Notation X = a · 10 b a : Significand or mantissa b : Exponent • Binary Scientific Notation X = a · 2 b a : Binary significand or mantissa b : Binary exponent Basis of binary floating-point representations
Background image of page 3

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

View Full Document Right Arrow Icon
IEEE-754 Single Precision 4 • Value = (-1) S · 2 E -127 · 1. F S : sign E : biased exponent F : fractional part of significand (normalized) • 32 bits 1 bit 8 bits 23 bits S E F 31 23 0
Background image of page 4
IEEE-754 Double Precision 5 • Value = (-1) S · 2 E -1023 · 1. F S : sign E : biased exponent F : fractional part of significand (normalized) • 64 bits 1 bit 11 bits 52 bits S E F 63 52 0
Background image of page 5

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

View Full Document Right Arrow Icon
Intel IA-32 Double Extended-Precision 6
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}