Operations in EQL adhere to the conventions for Not a Number (NaN), inf, and -inf defined by the IEEE 7540 2008 standard for handling floating point numbers.
In cases when it has to perform operations involving floating point numbers, or operations involving division by zero or NULL values, EQL expressions can return NaN, inf, and -inf results.
For most operations, EQL treats NaN, inf, or -inf values the same way as any other value.
Type of operation | How EQL handles NaN, inf, and -inf |
---|---|
Arithmetic operations | Arithmetic operations with NaN values result in NaN values. |
Filters | NaN values do not pass
filters (except for
!=).
Any other comparison involving a NaN value is false. |
Sorting | NaN is treated as "less
than"
-inf (NaN < -inf).
For any sort order specified, EQL returns:
|