MeshLib
 
Loading...
Searching...
No Matches
MRIsNaN.h File Reference
#include <bit>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

bool MR::isNanFast (float f)
 quickly tests whether given float is not-a-number
 

Variables

constexpr float MR::cQuietNan = std::numeric_limits<float>::quiet_NaN()
 
constexpr int MR::cQuietNanBits = std::bit_cast< int >( cQuietNan )