Everything

-round


< Compile Options / Microcontroller Options >

[Format]

-round={ zero  |  nearest }

 

-

[Default]

The default for this option is round=nearest.

[Description]

-

This option specifies the rounding method for floating-point constant operations.

-

When round=zero is specified, values are rounded to zero.

-

When round=nearest is specified, values are rounded to the nearest value.

[Remarks]

-

This option does not affect the method of rounding for floating-point operations during program execution.

-

The default selection of this option does not affect the selection of the fpu and nofpu options.