Use C++11 standard features for detecting presence of Inf and NaN
We now demand c+14 support of the compiler, and can rely on std::numeric_limits<T>::{has_infinity,has_signaling_NaN,has_quiet_NaN}.
Edited by Rasmus Munk Larsen
We now demand c+14 support of the compiler, and can rely on std::numeric_limits<T>::{has_infinity,has_signaling_NaN,has_quiet_NaN}.