Harlinn.Windows 0.1
Loading...
Searching...
No Matches
Harlinn::Math::Constants< float > Struct Reference

#include <Math.h>

Inheritance diagram for Harlinn::Math::Constants< float >:
[legend]
Collaboration diagram for Harlinn::Math::Constants< float >:
[legend]

Public Types

using ValueType = float
 

Static Public Attributes

static constexpr ValueType ShadowEpsilon = static_cast< ValueType >( 0.0001 )
 
static constexpr ValueType MinusOne = -1.f
 
static constexpr ValueType MinusZero = -0.f
 
static constexpr ValueType Zero = 0.f
 
static constexpr ValueType One = 1.f
 
static constexpr ValueType Two = 2.f
 
static constexpr ValueType Three = 3.f
 
static constexpr ValueType Pi = static_cast< ValueType >( 3.14159265358979323846 )
 
static constexpr ValueType NegativePi = -Pi
 
static constexpr ValueType PiTimes2 = static_cast< ValueType >( 2. * M_PI )
 
static constexpr ValueType InvPi = static_cast< ValueType >( 0.31830988618379067154 )
 
static constexpr ValueType Inv2Pi = static_cast< ValueType >( 0.15915494309189533577 )
 
static constexpr ValueType Inv4Pi = static_cast< ValueType >( 0.07957747154594766788 )
 
static constexpr ValueType PiOver2 = static_cast< ValueType >( 1.57079632679489661923 )
 
static constexpr ValueType PiOver3 = static_cast< ValueType >( M_PI / 3. )
 
static constexpr ValueType PiOver4 = static_cast< ValueType >( 0.78539816339744830961 )
 
static constexpr ValueType PiOver6 = static_cast< ValueType >( M_PI / 6. )
 
static constexpr ValueType Sqrt2 = static_cast< ValueType >( 1.41421356237309504880 )
 
static constexpr ValueType E = static_cast< ValueType >( M_E )
 
static constexpr ValueType E2 = static_cast< ValueType >( M_E * M_E )
 
static constexpr ValueType E3 = static_cast< ValueType >( M_E * M_E * M_E )
 
static constexpr ValueType Infinity = std::numeric_limits<ValueType >::infinity( )
 
static constexpr ValueType NegativeInfinity = -std::numeric_limits<ValueType >::infinity( )
 
static constexpr ValueType NaN = std::numeric_limits<ValueType >::quiet_NaN( )
 
static constexpr ValueType NegativeNaN = -std::numeric_limits<ValueType >::quiet_NaN( )
 
static constexpr ValueType sNaN = std::numeric_limits<ValueType >::quiet_NaN( )
 
static constexpr ValueType sNegativeNaN = -std::numeric_limits<ValueType >::signaling_NaN( )
 
static constexpr ValueType MachineEpsilon = std::numeric_limits<ValueType>::epsilon( ) * 0.5f
 
static constexpr ValueType OneMinusEpsilon = 0x1.fffffep-1f
 
static constexpr ValueType Max = std::numeric_limits<ValueType>::max( )
 
static constexpr ValueType Min = std::numeric_limits<ValueType>::min( )
 
static constexpr ValueType DenormalMin = std::numeric_limits<ValueType>::denorm_min( )
 
static constexpr ValueType Lowest = std::numeric_limits<ValueType>::lowest( )
 

Member Typedef Documentation

◆ ValueType

using Harlinn::Math::Constants< float >::ValueType = float

Member Data Documentation

◆ DenormalMin

ValueType Harlinn::Math::Constants< float >::DenormalMin = std::numeric_limits<ValueType>::denorm_min( )
staticconstexpr

◆ E

ValueType Harlinn::Math::Constants< float >::E = static_cast< ValueType >( M_E )
staticconstexpr

◆ E2

ValueType Harlinn::Math::Constants< float >::E2 = static_cast< ValueType >( M_E * M_E )
staticconstexpr

◆ E3

ValueType Harlinn::Math::Constants< float >::E3 = static_cast< ValueType >( M_E * M_E * M_E )
staticconstexpr

◆ Infinity

ValueType Harlinn::Math::Constants< float >::Infinity = std::numeric_limits<ValueType >::infinity( )
staticconstexpr

◆ Inv2Pi

ValueType Harlinn::Math::Constants< float >::Inv2Pi = static_cast< ValueType >( 0.15915494309189533577 )
staticconstexpr

◆ Inv4Pi

ValueType Harlinn::Math::Constants< float >::Inv4Pi = static_cast< ValueType >( 0.07957747154594766788 )
staticconstexpr

◆ InvPi

ValueType Harlinn::Math::Constants< float >::InvPi = static_cast< ValueType >( 0.31830988618379067154 )
staticconstexpr

◆ Lowest

ValueType Harlinn::Math::Constants< float >::Lowest = std::numeric_limits<ValueType>::lowest( )
staticconstexpr

◆ MachineEpsilon

ValueType Harlinn::Math::Constants< float >::MachineEpsilon = std::numeric_limits<ValueType>::epsilon( ) * 0.5f
staticconstexpr

◆ Max

ValueType Harlinn::Math::Constants< float >::Max = std::numeric_limits<ValueType>::max( )
staticconstexpr

◆ Min

ValueType Harlinn::Math::Constants< float >::Min = std::numeric_limits<ValueType>::min( )
staticconstexpr

◆ MinusOne

ValueType Harlinn::Math::Constants< float >::MinusOne = -1.f
staticconstexpr

◆ MinusZero

ValueType Harlinn::Math::Constants< float >::MinusZero = -0.f
staticconstexpr

◆ NaN

ValueType Harlinn::Math::Constants< float >::NaN = std::numeric_limits<ValueType >::quiet_NaN( )
staticconstexpr

◆ NegativeInfinity

ValueType Harlinn::Math::Constants< float >::NegativeInfinity = -std::numeric_limits<ValueType >::infinity( )
staticconstexpr

◆ NegativeNaN

ValueType Harlinn::Math::Constants< float >::NegativeNaN = -std::numeric_limits<ValueType >::quiet_NaN( )
staticconstexpr

◆ NegativePi

ValueType Harlinn::Math::Constants< float >::NegativePi = -Pi
staticconstexpr

◆ One

ValueType Harlinn::Math::Constants< float >::One = 1.f
staticconstexpr

◆ OneMinusEpsilon

ValueType Harlinn::Math::Constants< float >::OneMinusEpsilon = 0x1.fffffep-1f
staticconstexpr

◆ Pi

ValueType Harlinn::Math::Constants< float >::Pi = static_cast< ValueType >( 3.14159265358979323846 )
staticconstexpr

◆ PiOver2

ValueType Harlinn::Math::Constants< float >::PiOver2 = static_cast< ValueType >( 1.57079632679489661923 )
staticconstexpr

◆ PiOver3

ValueType Harlinn::Math::Constants< float >::PiOver3 = static_cast< ValueType >( M_PI / 3. )
staticconstexpr

◆ PiOver4

ValueType Harlinn::Math::Constants< float >::PiOver4 = static_cast< ValueType >( 0.78539816339744830961 )
staticconstexpr

◆ PiOver6

ValueType Harlinn::Math::Constants< float >::PiOver6 = static_cast< ValueType >( M_PI / 6. )
staticconstexpr

◆ PiTimes2

ValueType Harlinn::Math::Constants< float >::PiTimes2 = static_cast< ValueType >( 2. * M_PI )
staticconstexpr

◆ ShadowEpsilon

ValueType Harlinn::Math::Constants< float >::ShadowEpsilon = static_cast< ValueType >( 0.0001 )
staticconstexpr

◆ sNaN

ValueType Harlinn::Math::Constants< float >::sNaN = std::numeric_limits<ValueType >::quiet_NaN( )
staticconstexpr

◆ sNegativeNaN

ValueType Harlinn::Math::Constants< float >::sNegativeNaN = -std::numeric_limits<ValueType >::signaling_NaN( )
staticconstexpr

◆ Sqrt2

ValueType Harlinn::Math::Constants< float >::Sqrt2 = static_cast< ValueType >( 1.41421356237309504880 )
staticconstexpr

◆ Three

ValueType Harlinn::Math::Constants< float >::Three = 3.f
staticconstexpr

◆ Two

ValueType Harlinn::Math::Constants< float >::Two = 2.f
staticconstexpr

◆ Zero

ValueType Harlinn::Math::Constants< float >::Zero = 0.f
staticconstexpr

The documentation for this struct was generated from the following file: