5#if __cpp_lib_bit_cast >= 201806L
17constexpr float cQuietNan = std::numeric_limits<float>::quiet_NaN();
18#if __cpp_lib_bit_cast >= 201806L
19constexpr int cQuietNanBits = std::bit_cast< int >(
cQuietNan );
25#if __cpp_lib_bit_cast >= 201806L
26 return std::bit_cast< int >( f ) == cQuietNanBits;
28 return std::isnan( f );
constexpr float cQuietNan
Definition MRIsNaN.h:17
bool isNanFast(float f)
quickly tests whether given float is not-a-number
Definition MRIsNaN.h:23
only for bindings generation
Definition MRCameraOrientationPlugin.h:8