-approxdiv


< Compile Options / Optimize Options >

[Format]

-approxdiv

 

-

[Default]

When this option is omitted, division of floating-point constants into multiplications of the corresponding reciprocals as constants is not performed.

[Description]

-

This option converts divisions of floating-point constants into multiplications of the corresponding reciprocals as constants.

-

To be specific, when there is an expression of (variable divisor) with the divisor being a constant, a code with the expression converted into (variable reciprocal of divisor) will be generated.

[Remarks]

-

When this option is specified, the execution performance of floating-point constant division will be improved. The precision and order of operations may, however, be changed, so take care on this point.