4.3.17 Floating-point Sizes

Under the CCI, floating-point types must not be smaller than 32 bits in size.

Example

The following example shows the definition for outY, which is at least 32 bits 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.