Floating Point Types

The compiler supports the two IEEE standard formats (32-bit and 64-bit) for floating point types. The default format, for both float and double, is IEEE32.

The following table specifies the possible formats for each of the supported floating point types.

Table 1. Floating Point Types
Type Default Format Default Value Range Alternative Formats (flexible type configuration)
Min Max
float IEEE32 -1.17549435E-38F 3.402823466E+38F IEEE32, IEEE64
double IEEE32 1.17549435E-38F 3.402823466E+38F IEEE32, IEEE64
long double IEEE32 1.17549435E-38F 3.402823466E+38F IEEE32, IEEE64
long long double IEEE32 1.17549435E-38F 3.402823466E+38F IEEE32, IEEE64

For more information, refer to the following topics: