Enables you to optimize exponential arithmetic operations by specifying the calculation method used.
Restriction: This directive is supported for
JVM COBOL, but not native COBOL.
Syntax:
>>--.---.--ILEXPONENTIATION-"option"----><
+-/-+
Parameters:
- option
- One of:
- DECIMAL
- Floating point arithmetic is only used when at least one of the operands is floating point. This method is accurate up to
38 significant decimal digits.
- FLOAT
- Floating point arithmetic is used for exponential arithmetic operations, even when none of the operands are floating point.
This method is faster, but is only accurate to 15 significant decimal digits.
Properties:
Default:
|
ILEXPONENTIATION"DECIMAL"
|
IDE equivalent
|
None
|