| 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 TIGCC, both `float` and `double` (and even `long double`) are the same. The TI-89 and TI-92 Plus 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 a lot of math routines do not accept exponents greater than 999.