Enables or disables $DOUBLE returning INF and NAN values system-wide.
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.
Range of Values
0 or 1. The default is 1.
© 1997-2019 InterSystems Corporation, Cambridge, MA