Floating Point Types

The RS08 compiler supports IEEE32 floating point calculations. The compiler uses IEEE32 format for both types.

The option -T may be used to change the default format of float/double.

Table 1. Floating Point Types
Type Default Format Default Value Range Default Value Range Formats Available With Option -T
Min Max
float IEEE32 -1.17549435E-38F 3.402823466E+38F IEEE32
double IEEE32 1.17549435E-38F 3.402823466E+38F IEEE32
long double IEEE32 1.17549435E-38F 3.402823466E+38F IEEE32
long long double IEEE32 1.17549435E-38F 3.402823466E+38F IEEE32