OpenSiv3D  v0.6.5
C++20 framework for creative coding
Number.hpp File Reference
#include <limits>
#include <cmath>
#include "Common.hpp"
#include "Concepts.hpp"
#include "detail/Number.ipp"

Namespaces

 s3d
 

Functions

template<class Type >
bool s3d::IsNaN (Type value) noexcept
 数値が非数 (NaN) であるかを示します。 More...
 
template<class Type >
bool s3d::IsFinite (Type value) noexcept
 数値が有限値であるかを示します。 More...
 
template<class Type >
bool s3d::IsInfinity (Type value) noexcept
 数値が無限であるかを示します。 More...
 

Variables

template<class Type >
constexpr Type s3d::Largest = std::numeric_limits<Type>::max()
 表現できる最大の数値 More...
 
template<class Type >
constexpr Type s3d::Smallest = std::numeric_limits<Type>::lowest()
 表現できる最小の数値 More...
 
constexpr SIV3D_CONCEPT_FLOATING_POINT Float s3d::Inf = std::numeric_limits<Float>::infinity()
 正の無限大 More...
 
constexpr SIV3D_CONCEPT_FLOATING_POINT Float s3d::QNaN = std::numeric_limits<Float>::quiet_NaN()
 qNaN More...
 
constexpr SIV3D_CONCEPT_FLOATING_POINT Float s3d::SNaN = std::numeric_limits<Float>::signaling_NaN()
 sNaN More...