std::numeric_limits<T>::has_signaling_NaN

The value of std::numeric_limits::has_signaling_NaN is true for all types T capable of representing the special value “Signaling Not-A-Number”. This constant is meaningful for all floating-point types and is guaranteed to be true if std::numeric_limits::is_iec559 == true.

# Declarations

static const bool has_signaling_NaN;

(until C++11)

static constexpr bool has_signaling_NaN;

(since C++11)

# See also