Not Enough Math
Lightweight zero-dependency C++ math library
Loading...
Searching...
No Matches
nem::CanBeNaN Concept Reference

#include <nan.hpp>

Concept definition

template<typename T>
concept nem::CanBeNaN = std::floating_point<T> ||
(requires
{
{ std::numeric_limits<T>::has_quiet_NaN } -> std::convertible_to<bool>;
requires std::numeric_limits<T>::has_quiet_NaN;
}
)

Detailed Description

Definition at line 11 of file nan.hpp.