62
Section 2: Compiler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
_FPNEGTEN:
.word 0xC001
; -10
.long 0x10000000,0
The internal floating-point representation allows an exponent range of
L
16384 to
16383. However, the exponent range available to the users of the TI-89 and
TI-92 Plus calculators is
L
999 to 999. See chapter 16. Working with Numbers in
the TI-89 / TI-92 Plus Developers Guide for information on how and when to
verify that the exponent is within the range required by the calculator user
floating-point representation and what to do when it is not.
There are also several specific floating-point representations for signed zeros,
infinities, and undefined values (or NANs).
positive zero
Low address
High Address
2 bytes
MSD 8 bytes LSD
0x0000
0x00000000, 0x00000000
negative zero
Low address
High Address
2 bytes
MSD 8 bytes LSD
0x8000
0x00000000, 0x00000000
positive infinity
Low address
High Address
2 bytes
MSD 8 bytes LSD
0x7FFF
0xAA00BB00, 0x00000000
negative infinity
Low address
High Address
2 bytes
MSD 8 bytes LSD
0xFFFF
0xAA00BB00, 0x00000000
unsigned infinity
Low address
High Address
2 bytes
MSD 8 bytes LSD
0x7FFF
0xAA00CC00, 0x00000000