Of the five floating point exception categories defined in C++, namely:
FE_INEXACT
FE_DIVBYZERO
FE_UNDERFLOW
FE_OVERFLOW
FE_INVALID
...which of these can result in a NaN
value?
Also - are there any operations that can result in a NaN
value, but not trigger one of these exceptions?