IEEEError
Synopsis
[Miscellaneous] IEEEError=n
Description
This property sets the $DOUBLE function return-value behavior system-wide.
The property controls the issuing of INF, -INF, and NAN when a $DOUBLE numeric operation cannot be resolved to a numeric value. It does not control the issuing of INF, -INF, and NAN in all cases. $DOUBLE always returns INF, -INF, or NAN when you supply one of these strings as the input value, regardless of this property. Mathematical operations on $DOUBLE numbers that result in an INF, -INF, or NAN are controlled by this property. These include arithmetic operations, exponentiation, and logarithmic and trigonometric functions.
-
When 1 (true), $DOUBLE generates Caché errors for unresolvable IEEE floating point conversions. The default is true.
-
When 0 (false), $DOUBLE returns INF (infinity), -INF, and NAN (Not A Number) for unresolvable IEEE floating point conversions.
IEEEError=0
0 or 1. The default is 1.
On the page System Administration > Configuration > Additional Settings > Compatibility, in the IEEEError row, select Edit and choose true (selected) or false (cleared).