Rosetta
Public Types | Static Public Member Functions | List of all members
numeric::NumericTraits< float > Struct Reference

NumericTraits: Numeric type traits float specialization. More...

#include <NumericTraits.hh>

Public Types

typedef float Type
 

Static Public Member Functions

constexpr static Type zero ()
 Zero. More...
 
constexpr static Type one ()
 One. More...
 
constexpr static Type two ()
 Two. More...
 
constexpr static Type pi ()
 pi More...
 
constexpr static Type pi_2 ()
 2*pi More...
 
constexpr static Type pi_over_2 ()
 pi/2 More...
 
constexpr static Type pi_over_3 ()
 pi/3 More...
 
constexpr static Type pi_over_4 ()
 pi/4 More...
 
constexpr static Type pi_2_over_3 ()
 (2*pi)/3 More...
 
constexpr static Type pi_3_over_4 ()
 (3*pi)/4 More...
 
constexpr static Type pi_over_180 ()
 pi/180 More...
 
constexpr static Type degrees_to_radians ()
 pi/180 More...
 
constexpr static Type deg2rad ()
 pi/180 More...
 
constexpr static Type radians_to_degrees ()
 180/pi More...
 
constexpr static Type rad2deg ()
 180/pi More...
 
constexpr static Type sqrt_2pi ()
 sqrt(2*pi) More...
 
constexpr static Type tolerance ()
 Tolerance. More...
 
constexpr static Type length_tolerance ()
 Length tolerance. More...
 
constexpr static Type angle_tolerance ()
 Angle tolerance (radians) More...
 
constexpr static Type sin_cos_tolerance ()
 Sine cosine range tolerance. More...
 
constexpr static Type quaternion_tolerance ()
 Quaternion normalization tolerance. More...
 

Detailed Description

NumericTraits: Numeric type traits float specialization.

Member Typedef Documentation

◆ Type

typedef float numeric::NumericTraits< float >::Type

Member Function Documentation

◆ angle_tolerance()

constexpr static Type numeric::NumericTraits< float >::angle_tolerance ( )
inlinestaticconstexpr

Angle tolerance (radians)

◆ deg2rad()

constexpr static Type numeric::NumericTraits< float >::deg2rad ( )
inlinestaticconstexpr

pi/180

◆ degrees_to_radians()

constexpr static Type numeric::NumericTraits< float >::degrees_to_radians ( )
inlinestaticconstexpr

pi/180

◆ length_tolerance()

constexpr static Type numeric::NumericTraits< float >::length_tolerance ( )
inlinestaticconstexpr

Length tolerance.

◆ one()

constexpr static Type numeric::NumericTraits< float >::one ( )
inlinestaticconstexpr

One.

◆ pi()

constexpr static Type numeric::NumericTraits< float >::pi ( )
inlinestaticconstexpr

pi

◆ pi_2()

constexpr static Type numeric::NumericTraits< float >::pi_2 ( )
inlinestaticconstexpr

2*pi

◆ pi_2_over_3()

constexpr static Type numeric::NumericTraits< float >::pi_2_over_3 ( )
inlinestaticconstexpr

(2*pi)/3

◆ pi_3_over_4()

constexpr static Type numeric::NumericTraits< float >::pi_3_over_4 ( )
inlinestaticconstexpr

(3*pi)/4

◆ pi_over_180()

constexpr static Type numeric::NumericTraits< float >::pi_over_180 ( )
inlinestaticconstexpr

pi/180

◆ pi_over_2()

constexpr static Type numeric::NumericTraits< float >::pi_over_2 ( )
inlinestaticconstexpr

pi/2

◆ pi_over_3()

constexpr static Type numeric::NumericTraits< float >::pi_over_3 ( )
inlinestaticconstexpr

pi/3

◆ pi_over_4()

constexpr static Type numeric::NumericTraits< float >::pi_over_4 ( )
inlinestaticconstexpr

pi/4

◆ quaternion_tolerance()

constexpr static Type numeric::NumericTraits< float >::quaternion_tolerance ( )
inlinestaticconstexpr

Quaternion normalization tolerance.

◆ rad2deg()

constexpr static Type numeric::NumericTraits< float >::rad2deg ( )
inlinestaticconstexpr

180/pi

◆ radians_to_degrees()

constexpr static Type numeric::NumericTraits< float >::radians_to_degrees ( )
inlinestaticconstexpr

180/pi

◆ sin_cos_tolerance()

constexpr static Type numeric::NumericTraits< float >::sin_cos_tolerance ( )
inlinestaticconstexpr

Sine cosine range tolerance.

◆ sqrt_2pi()

constexpr static Type numeric::NumericTraits< float >::sqrt_2pi ( )
inlinestaticconstexpr

sqrt(2*pi)

◆ tolerance()

constexpr static Type numeric::NumericTraits< float >::tolerance ( )
inlinestaticconstexpr

Tolerance.

◆ two()

constexpr static Type numeric::NumericTraits< float >::two ( )
inlinestaticconstexpr

Two.

◆ zero()

constexpr static Type numeric::NumericTraits< float >::zero ( )
inlinestaticconstexpr

Zero.


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