24.3.17 Floating-Point Sizes
Under the CCI, floating-point types must not be smaller than 32 bits in size.
Example
The following shows the definition for outY
, which is at least
32-bit
in size.
float outY;
Differences
The 8-bit compilers have allowed the use of 24-bit float
and
double
types.
Migration to the CCI
When using 8-bit compilers, the float
and double
type
will automatically be made
32
bits in size once the CCI mode is enabled. Review any source code that may have assumed
a float
or double
type and may have been 24 bits in
size.
No migration is required for other compilers.