![]() |
float, double | Keywords |
Keyword Index |
Floating point data types.
The keyword float
usually represents a single precision floating point data type,
and double
represents a double precision floating point data type.
In GCC4TI, both float
and double
(and even long double
)
are the same. The TI-68k calculators running AMS or compatible use a non-IEEE floating point
format called SMAP II BCD for floating point values.
These values have a range from 1e-999 to 9.999999999999999e999 in magnitude,
with a precision of exactly 16 significant digits.
Principally, the exponent range may be as high as 16383,
but most math routines do not accept exponents greater than 999.