Representing Negative Infinity, Positive Infinity, Indeterminate, and Indeterminate values in DataHub
What do 1.#INF, -1.#QNAN, -1.#INF and -1.#IND mean in the Data Viewer?
There are four special floating point values that can be generated by the computer's floating point processor:
- -1.#QNAN = Quiet Not a Number
- -1.#INF = Negative infinity
- 1.#INF = Positive infinity
- -1.#IND = Indeterminate
These are generated in different ways based on the floating point operation and the operands. For example:
- x / 0 = infinity = 1.#INF
- -x/ 0 = negative infinity = -1.#INF
- 0 / 0 = indeterminate = -1.#IND
- sqrt(-1) = -1.#IND