-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 the long double type are regarded as the float type. (It is the same result 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 as the parameter, both the double type and the long double type are regarded as the float type.

-

When 8 is specified as the parameter, neither the double type nor the long double type is regarded as the float 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