Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: PowerPC Numerics / Part 3 - Appendixes
Appendix F - PowerPC Assembly-Language Numerics Reference


Floating-Point Data Formats

Figure F-1 Floating-point data formats
Table F-1 Interpreting floating-point values
If biased exponent e is: And fraction f is: Then value v is:And class of v is:
0 [77](any) v = (-1)s×2(e+-bias)×(1.f) Normalized number
e = 0 f 0 v = (-1)s×2minexp×(0.f) [78]Denormalized number
e = 0 f = 0 v = (-1)s×0 Zero
e = max f = 0 v = (-1)s× Infinity
e = max f 0 v = NaN NaN


[77] max = 255 for single format, 2047 for double format.
[78] minexp = -126 for single format, -1022 for double format.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996