Everything

 

-dbl_size


This option changes the interpretation of the double and long double types.

[Specification format]

-dbl_size={4|8}

 

-

Interpretation when omitted

Both the double type and long double type are handled as the single-precision floating-point type (as when the -dbl_size=4 option is specified).

[Detailed description]

-

This option changes the interpretation of the double and long double types.

-

When 4 is specified for the parameter, the double type and the long double type are handled as the single-precision floating-point type.

-

When 8 is specified for the parameter, the double type and the long double type are handled as the double-precision floating-point type.

-

An error will occur if neither 4 nor 8 is specified as the parameter.

-

An error will occur if the -cpu=S1 and -dbl_size=8 options are specified at the same time.

-

An error will occur if the -cpu=S2 and -dbl_size=8 options are specified at the same time.

-

When the -dbl_size=4 option is specified and a standard library function for the double type is called, it is replaced with the corresponding standard library for the float type.

-

This option affects the predefined macros.

[Example of use]

-

To regard both the double type and the long double type as the float type, describe as:

>ccrl -dbl_size=4 -cpu=S2 -dev=dr5f100pj.dvf main.c