Propeller Manual

Table Of Contents
2: Spin Language Reference – ROUND
Propeller Manual v1.1 · Page 199
a 1-bit sign, an 8-bit exponent, and a 23-bit mantissa (the fractional part). This provides
approximately 7.2 significant decimal digits.
Floating-point constant expressions can be defined and used for many compile-time purposes,
but for run-time floating-point operations, the FloatMath and FloatString objects provide
math functions compatible with single-precision numbers.
See the Constant Assignment ‘=’ in the Operators section on page 148,
FLOAT on page 108,
and
TRUNC on page 209, as well as the FloatMath and FloatString objects for more
information.