A
Alan Williams-Key
While debugging I discovered a variable had a value that I did not recognise
which led me to find out about numeric_limits. I inserted code to trap out
infinity, signaling_NaN and quiet_NaN but this didn't work because every
value was deemed to be equal to quiet_NaN. I cannot find any documentation
relating to this in the help files. Can anyone explain what quiet_NaN is and
why every value is deemed to be equal to it?
which led me to find out about numeric_limits. I inserted code to trap out
infinity, signaling_NaN and quiet_NaN but this didn't work because every
value was deemed to be equal to quiet_NaN. I cannot find any documentation
relating to this in the help files. Can anyone explain what quiet_NaN is and
why every value is deemed to be equal to it?