maxon Math

Detailed Description

Classes

class  LIMIT< T >
 
class  LIMIT< Int64 >
 
class  LIMIT< UInt64 >
 
class  LIMIT< Int32 >
 
class  LIMIT< UInt32 >
 
class  LIMIT< Int16 >
 
class  LIMIT< UInt16 >
 
class  LIMIT< Char >
 
class  LIMIT< UChar >
 
class  LIMIT< Float32 >
 
class  LIMIT< Float64 >
 
class  LIMIT< T >
 
class  LIMIT< Int64 >
 
class  LIMIT< UInt64 >
 
class  LIMIT< Int32 >
 
class  LIMIT< UInt32 >
 
class  LIMIT< Int16 >
 
class  LIMIT< UInt16 >
 
class  LIMIT< Char >
 
class  LIMIT< UChar >
 
class  LIMIT< Float32 >
 
class  LIMIT< Float64 >
 

Macros

#define SIZEOF(x)
 

Functions

Float32 Clamp01 (Float32 a)
 
Float64 Clamp01 (Float64 a)
 
Float32 Sin (Float32 val)
 
Float64 Sin (Float64 val)
 
Float32 Cos (Float32 val)
 
Float64 Cos (Float64 val)
 
Float32 Tan (Float32 val)
 
Float64 Tan (Float64 val)
 
Float32 ATan (Float32 val)
 
Float64 ATan (Float64 val)
 
Float32 ATan2 (Float32 valY, Float32 valX)
 
Float64 ATan2 (Float64 valY, Float64 valX)
 
Float32 Exp (Float32 val)
 
Float64 Exp (Float64 val)
 
Float32 Ln (Float32 val)
 
Float64 Ln (Float64 val)
 
Float32 Log10 (Float32 val)
 
Float64 Log10 (Float64 val)
 
Float32 Log2 (Float32 val)
 
Float64 Log2 (Float64 val)
 
Float32 Sqrt (Float32 val)
 
Float64 Sqrt (Float64 val)
 
Float32 Floor (Float32 val)
 
Float64 Floor (Float64 val)
 
Float32 Ceil (Float32 val)
 
Float64 Ceil (Float64 val)
 
Float32 Modf (Float32 val, Float32 *intpart)
 
Float64 Modf (Float64 val, Float64 *intpart)
 
Float32 Pow (Float32 v1, Float32 v2)
 
Float64 Pow (Float64 v1, Float64 v2)
 
Float32 Sinh (Float32 val)
 
Float64 Sinh (Float64 val)
 
Float32 Cosh (Float32 val)
 
Float64 Cosh (Float64 val)
 
Float32 Tanh (Float32 val)
 
Float64 Tanh (Float64 val)
 
Float32 FMod (Float32 v1, Float32 v2)
 
Float64 FMod (Float64 v1, Float64 v2)
 
Float32 Abs (Float32 val)
 
Float64 Abs (Float64 val)
 
Float32 Inverse (Float32 f)
 
Float64 Inverse (Float64 f)
 
Float32 Round (Float32 f)
 
Float64 Round (Float64 f)
 
template<typename X >
Abs (X f)
 
template<typename X >
Min (X a, X b)
 
template<typename X >
Max (X a, X b)
 
template<typename X >
void Swap (X &a, X &b)
 
template<typename X >
ClampValue (X value, X lowerLimit, X upperLimit)
 
template<typename X , typename Y >
Blend (const X &value1, const X &value2, Y blendValue)
 
template<typename X >
Float Sqr (X a, X b)
 
template<typename X >
Float Sqr (X a)
 
Float32 ASin (Float32 val)
 
Float64 ASin (Float64 val)
 
Float32 ACos (Float32 val)
 
Float64 ACos (Float64 val)
 
Float32 Rad (Float32 r)
 
Float64 Rad (Float64 r)
 
Float32 Deg (Float32 r)
 
Float64 Deg (Float64 r)
 
Float32 DegToRad (Float32 r)
 
Float64 DegToRad (Float64 r)
 
Float32 RadToDeg (Float32 r)
 
Float64 RadToDeg (Float64 r)
 
void SinCos (Float32 r, Float32 &sn, Float32 &cs)
 
void SinCos (Float64 r, Float64 &sn, Float64 &cs)
 
Int32 SAFEINT32 (Float32 x)
 
Int32 SAFEINT32 (Float64 x)
 
Int64 SAFEINT64 (Float32 x)
 
Int64 SAFEINT64 (Float64 x)
 
Int SAFEINT (Float64 x)
 
Int SAFEINT (Float32 x)
 
template<typename T >
void SetMax (T &a, const T &b)
 
template<typename T >
void SetMin (T &a, const T &b)
 
Float32 Clamp01 (Float32 a)
 
Float64 Clamp01 (Float64 a)
 
Float32 Sin (Float32 val)
 
Float64 Sin (Float64 val)
 
Float32 Cos (Float32 val)
 
Float64 Cos (Float64 val)
 
Float32 Tan (Float32 val)
 
Float64 Tan (Float64 val)
 
Float32 ATan (Float32 val)
 
Float64 ATan (Float64 val)
 
Float32 ATan2 (Float32 valY, Float32 valX)
 
Float64 ATan2 (Float64 valY, Float64 valX)
 
Float32 Exp (Float32 val)
 
Float64 Exp (Float64 val)
 
Float32 Ln (Float32 val)
 
Float64 Ln (Float64 val)
 
Float32 Log10 (Float32 val)
 
Float64 Log10 (Float64 val)
 
Float32 Log2 (Float32 val)
 
Float64 Log2 (Float64 val)
 
Float32 Sqrt (Float32 val)
 
Float64 Sqrt (Float64 val)
 
Float32 Floor (Float32 val)
 
Float64 Floor (Float64 val)
 
Float32 Ceil (Float32 val)
 
Float64 Ceil (Float64 val)
 
Float32 Modf (Float32 val, Float32 *intpart)
 
Float64 Modf (Float64 val, Float64 *intpart)
 
Float32 Pow (Float32 v1, Float32 v2)
 
Float64 Pow (Float64 v1, Float64 v2)
 
Float32 Sinh (Float32 val)
 
Float64 Sinh (Float64 val)
 
Float32 Cosh (Float32 val)
 
Float64 Cosh (Float64 val)
 
Float32 Tanh (Float32 val)
 
Float64 Tanh (Float64 val)
 
Float32 FMod (Float32 v1, Float32 v2)
 
Float64 FMod (Float64 v1, Float64 v2)
 
Float32 Abs (Float32 val)
 
Float64 Abs (Float64 val)
 
Float32 Inverse (Float32 f)
 
Float64 Inverse (Float64 f)
 
Float32 Round (Float32 f)
 
Float64 Round (Float64 f)
 
template<typename X >
Abs (X f)
 
template<typename X >
Min (X a, X b)
 
template<typename X >
Max (X a, X b)
 
template<typename X >
void Swap (X &a, X &b)
 
template<typename X >
ClampValue (X value, X lowerLimit, X upperLimit)
 
template<typename X , typename Y >
Blend (const X &value1, const X &value2, Y blendValue)
 
template<typename X >
Float Sqr (X a, X b)
 
template<typename X >
Float Sqr (X a)
 
Float32 ASin (Float32 val)
 
Float64 ASin (Float64 val)
 
Float32 ACos (Float32 val)
 
Float64 ACos (Float64 val)
 
Float32 Rad (Float32 r)
 
Float64 Rad (Float64 r)
 
Float32 Deg (Float32 r)
 
Float64 Deg (Float64 r)
 
Float32 DegToRad (Float32 r)
 
Float64 DegToRad (Float64 r)
 
Float32 RadToDeg (Float32 r)
 
Float64 RadToDeg (Float64 r)
 
void SinCos (Float32 r, Float32 &sn, Float32 &cs)
 
void SinCos (Float64 r, Float64 &sn, Float64 &cs)
 
Int32 SAFEINT32 (Float32 x)
 
Int32 SAFEINT32 (Float64 x)
 
Int64 SAFEINT64 (Float32 x)
 
Int64 SAFEINT64 (Float64 x)
 
Int SAFEINT (Float64 x)
 
Int SAFEINT (Float32 x)
 
template<typename T >
void SetMax (T &a, const T &b)
 
template<typename T >
void SetMin (T &a, const T &b)
 

Variables

static const Float32 MINVALUE_FLOAT32
 
static const Float32 MAXVALUE_FLOAT32
 
static const Float64 MINVALUE_FLOAT64
 
static const Float64 MAXVALUE_FLOAT64
 
static const Float32 MINVALUE_INT32_FLOAT32
 
static const Float32 MAXVALUE_INT32_FLOAT32
 
static const Float64 MINVALUE_INT64_FLOAT64
 
static const Float64 MAXVALUE_INT64_FLOAT64
 
static const Float32 MINRANGE_FLOAT32
 
static const Float32 MAXRANGE_FLOAT32
 
static const Float64 MINRANGE_FLOAT64
 
static const Float64 MAXRANGE_FLOAT64
 
static const Float MINVALUE_FLOAT
 
static const Float MAXVALUE_FLOAT
 
static const Float MINRANGE_FLOAT
 
static const Float MAXRANGE_FLOAT
 
static const Int NOTOK
 
static const Float64 PI
 
static const Float64 PI_INV
 
static const Float64 PI2
 
static const Float64 PI2_INV
 
static const Float64 PI05
 
static const Float32 MINVALUE_FLOAT32
 
static const Float32 MAXVALUE_FLOAT32
 
static const Float64 MINVALUE_FLOAT64
 
static const Float64 MAXVALUE_FLOAT64
 
static const Float32 MINVALUE_INT32_FLOAT32
 
static const Float32 MAXVALUE_INT32_FLOAT32
 
static const Float64 MINVALUE_INT64_FLOAT64
 
static const Float64 MAXVALUE_INT64_FLOAT64
 
static const Float32 MINRANGE_FLOAT32
 
static const Float32 MAXRANGE_FLOAT32
 
static const Float64 MINRANGE_FLOAT64
 
static const Float64 MAXRANGE_FLOAT64
 
static const Float MINVALUE_FLOAT
 
static const Float MAXVALUE_FLOAT
 
static const Float MINRANGE_FLOAT
 
static const Float MAXRANGE_FLOAT
 
static const Int NOTOK
 
static const Float64 PI
 
static const Float64 PI_INV
 
static const Float64 PI2
 
static const Float64 PI2_INV
 
static const Float64 PI05
 

Macro Definition Documentation

§ SIZEOF

#define SIZEOF (   x)

Calculates the size of a datatype or element.

Function Documentation

§ Clamp01() [1/4]

Float32 maxon::Clamp01 ( Float32  a)

Clip a floating point number against the lower limit 0 and the upper limit 1. The result will be returned.

§ Clamp01() [2/4]

Float64 maxon::Clamp01 ( Float64  a)

Clip a floating point number against the lower limit 0 and the upper limit 1. The result will be returned.

§ Sin() [1/4]

Float32 maxon::Sin ( Float32  val)

§ Sin() [2/4]

Float64 maxon::Sin ( Float64  val)

§ Cos() [1/4]

Float32 maxon::Cos ( Float32  val)

§ Cos() [2/4]

Float64 maxon::Cos ( Float64  val)

§ Tan() [1/4]

Float32 maxon::Tan ( Float32  val)

§ Tan() [2/4]

Float64 maxon::Tan ( Float64  val)

§ ATan() [1/4]

Float32 maxon::ATan ( Float32  val)

§ ATan() [2/4]

Float64 maxon::ATan ( Float64  val)

§ ATan2() [1/4]

Float32 maxon::ATan2 ( Float32  valY,
Float32  valX 
)

§ ATan2() [2/4]

Float64 maxon::ATan2 ( Float64  valY,
Float64  valX 
)

§ Exp() [1/4]

Float32 maxon::Exp ( Float32  val)

§ Exp() [2/4]

Float64 maxon::Exp ( Float64  val)

§ Ln() [1/4]

Float32 maxon::Ln ( Float32  val)

§ Ln() [2/4]

Float64 maxon::Ln ( Float64  val)

§ Log10() [1/4]

Float32 maxon::Log10 ( Float32  val)

§ Log10() [2/4]

Float64 maxon::Log10 ( Float64  val)

§ Log2() [1/4]

Float32 maxon::Log2 ( Float32  val)

§ Log2() [2/4]

Float64 maxon::Log2 ( Float64  val)

§ Sqrt() [1/4]

Float32 maxon::Sqrt ( Float32  val)

§ Sqrt() [2/4]

Float64 maxon::Sqrt ( Float64  val)

§ Floor() [1/4]

Float32 maxon::Floor ( Float32  val)

§ Floor() [2/4]

Float64 maxon::Floor ( Float64  val)

§ Ceil() [1/4]

Float32 maxon::Ceil ( Float32  val)

§ Ceil() [2/4]

Float64 maxon::Ceil ( Float64  val)

§ Modf() [1/4]

Float32 maxon::Modf ( Float32  val,
Float32 intpart 
)

§ Modf() [2/4]

Float64 maxon::Modf ( Float64  val,
Float64 intpart 
)

§ Pow() [1/4]

Float32 maxon::Pow ( Float32  v1,
Float32  v2 
)

§ Pow() [2/4]

Float64 maxon::Pow ( Float64  v1,
Float64  v2 
)

§ Sinh() [1/4]

Float32 maxon::Sinh ( Float32  val)

§ Sinh() [2/4]

Float64 maxon::Sinh ( Float64  val)

§ Cosh() [1/4]

Float32 maxon::Cosh ( Float32  val)

§ Cosh() [2/4]

Float64 maxon::Cosh ( Float64  val)

§ Tanh() [1/4]

Float32 maxon::Tanh ( Float32  val)

§ Tanh() [2/4]

Float64 maxon::Tanh ( Float64  val)

§ FMod() [1/4]

Float32 maxon::FMod ( Float32  v1,
Float32  v2 
)

§ FMod() [2/4]

Float64 maxon::FMod ( Float64  v1,
Float64  v2 
)

§ Abs() [1/6]

Float32 maxon::Abs ( Float32  val)

§ Abs() [2/6]

Float64 maxon::Abs ( Float64  val)

§ Inverse() [1/4]

Float32 maxon::Inverse ( Float32  f)

Calculates the reciprocal value (multiplicative inverse). If the input value is zero, zero will be returned for safety to avoid exceptions.

§ Inverse() [2/4]

Float64 maxon::Inverse ( Float64  f)

Calculates the reciprocal value (multiplicative inverse). If the input value is zero, zero will be returned for safety to avoid exceptions.

§ Round() [1/4]

Float32 maxon::Round ( Float32  f)

Rounds a floating point value

Since
R18

§ Round() [2/4]

Float64 maxon::Round ( Float64  f)

Rounds a floating point value

Since
R18

§ Abs() [3/6]

X maxon::Abs ( f)

Calculates the absolute value of any data type.

§ Min() [1/2]

X maxon::Min ( a,
b 
)

Calculates the minimum of two values and return it.

§ Max() [1/2]

X maxon::Max ( a,
b 
)

Calculates the maximum of two values and return it.

§ Swap() [1/2]

void maxon::Swap ( X &  a,
X &  b 
)

Swaps two values. If available, move semantics will be used.

§ ClampValue() [1/2]

X maxon::ClampValue ( value,
lowerLimit,
upperLimit 
)

Clips a value against a lower and upper limit. The new value is returned.

§ Blend() [1/2]

X maxon::Blend ( const X &  value1,
const X &  value2,
blendValue 
)

§ Sqr() [1/4]

Float maxon::Sqr ( a,
b 
)

Calculates square difference of two values.

§ Sqr() [2/4]

Float maxon::Sqr ( a)

Calculates square of a value.

§ ASin() [1/4]

Float32 maxon::ASin ( Float32  val)

Calculates arcsine. The input value is clipped for safety to avoid exceptions.

§ ASin() [2/4]

Float64 maxon::ASin ( Float64  val)

Calculates arcsine. The input value is clipped for safety to avoid exceptions.

§ ACos() [1/4]

Float32 maxon::ACos ( Float32  val)

Calculates arccosine. The input value is clipped for safety to avoid exceptions.

§ ACos() [2/4]

Float64 maxon::ACos ( Float64  val)

Calculates arccosine. The input value is clipped for safety to avoid exceptions.

§ Rad() [1/4]

Float32 maxon::Rad ( Float32  r)

Converts float value from degrees to radians.

§ Rad() [2/4]

Float64 maxon::Rad ( Float64  r)

Converts float value from degrees to radians.

§ Deg() [1/4]

Float32 maxon::Deg ( Float32  r)

Converts float value from radians to degrees.

§ Deg() [2/4]

Float64 maxon::Deg ( Float64  r)

Converts float value from radians to degrees.

§ DegToRad() [1/4]

Float32 maxon::DegToRad ( Float32  r)

Converts float value from degrees to radians.

Since
R18

§ DegToRad() [2/4]

Float64 maxon::DegToRad ( Float64  r)

Converts float value from degrees to radians.

Since
R18

§ RadToDeg() [1/4]

Float32 maxon::RadToDeg ( Float32  r)

Converts float value from radians to degrees.

Since
R18

§ RadToDeg() [2/4]

Float64 maxon::RadToDeg ( Float64  r)

Converts float value from radians to degrees.

Since
R18

§ SinCos() [1/4]

void maxon::SinCos ( Float32  r,
Float32 sn,
Float32 cs 
)

§ SinCos() [2/4]

void maxon::SinCos ( Float64  r,
Float64 sn,
Float64 cs 
)

§ SAFEINT32() [1/4]

Int32 maxon::SAFEINT32 ( Float32  x)

Safely converts a 32 bit float value into Int32. The resulting value will be clipped against the Int32 boundaries, without raising an exception.

§ SAFEINT32() [2/4]

Int32 maxon::SAFEINT32 ( Float64  x)

Safely converts a 64 bit float value into Int32. The resulting value will be clipped against the Int32 boundaries, without raising an exception.

§ SAFEINT64() [1/4]

Int64 maxon::SAFEINT64 ( Float32  x)

Safely converts a 32 bit float value into Int64. The resulting value will be clipped against the Int64 boundaries, without raising an exception.

§ SAFEINT64() [2/4]

Int64 maxon::SAFEINT64 ( Float64  x)

Safely converts a 64 bit float value into Int64. The resulting value will be clipped against the Int64 boundaries, without raising an exception

§ SAFEINT() [1/4]

Int maxon::SAFEINT ( Float64  x)

Safely converts a 64 bit float value into Int. The resulting value will be clipped against the Int boundaries, without raising an exception

§ SAFEINT() [2/4]

Int maxon::SAFEINT ( Float32  x)

Safely converts a 32 bit float value into Int. The resulting value will be clipped against the Int boundaries, without raising an exception

§ SetMax() [1/2]

void maxon::SetMax ( T &  a,
const T &  b 
)

Assigns the maximum of two values to the first value.

Parameters
[in,out]aFirst value.
[in]bSecond value.

§ SetMin() [1/2]

void maxon::SetMin ( T &  a,
const T &  b 
)

Assigns the minimum of two values to the first value.

Parameters
[in,out]aFirst value.
[in]bSecond value.

§ Clamp01() [3/4]

Float32 Clamp01 ( Float32  a)

Clip a floating point number against the lower limit 0 and the upper limit 1. The result will be returned.

§ Clamp01() [4/4]

Float64 Clamp01 ( Float64  a)

Clip a floating point number against the lower limit 0 and the upper limit 1. The result will be returned.

§ Sin() [3/4]

Float32 Sin ( Float32  val)

§ Sin() [4/4]

Float64 Sin ( Float64  val)

§ Cos() [3/4]

Float32 Cos ( Float32  val)

§ Cos() [4/4]

Float64 Cos ( Float64  val)

§ Tan() [3/4]

Float32 Tan ( Float32  val)

§ Tan() [4/4]

Float64 Tan ( Float64  val)

§ ATan() [3/4]

Float32 ATan ( Float32  val)

§ ATan() [4/4]

Float64 ATan ( Float64  val)

§ ATan2() [3/4]

Float32 ATan2 ( Float32  valY,
Float32  valX 
)

§ ATan2() [4/4]

Float64 ATan2 ( Float64  valY,
Float64  valX 
)

§ Exp() [3/4]

Float32 Exp ( Float32  val)

§ Exp() [4/4]

Float64 Exp ( Float64  val)

§ Ln() [3/4]

Float32 Ln ( Float32  val)

§ Ln() [4/4]

Float64 Ln ( Float64  val)

§ Log10() [3/4]

Float32 Log10 ( Float32  val)

§ Log10() [4/4]

Float64 Log10 ( Float64  val)

§ Log2() [3/4]

Float32 Log2 ( Float32  val)

§ Log2() [4/4]

Float64 Log2 ( Float64  val)

§ Sqrt() [3/4]

Float32 Sqrt ( Float32  val)

§ Sqrt() [4/4]

Float64 Sqrt ( Float64  val)

§ Floor() [3/4]

Float32 Floor ( Float32  val)

§ Floor() [4/4]

Float64 Floor ( Float64  val)

§ Ceil() [3/4]

Float32 Ceil ( Float32  val)

§ Ceil() [4/4]

Float64 Ceil ( Float64  val)

§ Modf() [3/4]

Float32 Modf ( Float32  val,
Float32 intpart 
)

§ Modf() [4/4]

Float64 Modf ( Float64  val,
Float64 intpart 
)

§ Pow() [3/4]

Float32 Pow ( Float32  v1,
Float32  v2 
)

§ Pow() [4/4]

Float64 Pow ( Float64  v1,
Float64  v2 
)

§ Sinh() [3/4]

Float32 Sinh ( Float32  val)

§ Sinh() [4/4]

Float64 Sinh ( Float64  val)

§ Cosh() [3/4]

Float32 Cosh ( Float32  val)

§ Cosh() [4/4]

Float64 Cosh ( Float64  val)

§ Tanh() [3/4]

Float32 Tanh ( Float32  val)

§ Tanh() [4/4]

Float64 Tanh ( Float64  val)

§ FMod() [3/4]

Float32 FMod ( Float32  v1,
Float32  v2 
)

§ FMod() [4/4]

Float64 FMod ( Float64  v1,
Float64  v2 
)

§ Abs() [4/6]

Float32 Abs ( Float32  val)

§ Abs() [5/6]

Float64 Abs ( Float64  val)

§ Inverse() [3/4]

Float32 Inverse ( Float32  f)

Calculates the reciprocal value (multiplicative inverse). If the input value is zero, zero will be returned for safety to avoid exceptions.

§ Inverse() [4/4]

Float64 Inverse ( Float64  f)

Calculates the reciprocal value (multiplicative inverse). If the input value is zero, zero will be returned for safety to avoid exceptions.

§ Round() [3/4]

Float32 Round ( Float32  f)

Rounds a floating point value

Since
R18

§ Round() [4/4]

Float64 Round ( Float64  f)

Rounds a floating point value

Since
R18

§ Abs() [6/6]

X Abs ( f)

Calculates the absolute value of any data type.

§ Min() [2/2]

X Min ( a,
b 
)

Calculates the minimum of two values and return it.

§ Max() [2/2]

X Max ( a,
b 
)

Calculates the maximum of two values and return it.

§ Swap() [2/2]

void Swap ( X &  a,
X &  b 
)

Swaps two values. If available, move semantics will be used.

§ ClampValue() [2/2]

X ClampValue ( value,
lowerLimit,
upperLimit 
)

Clips a value against a lower and upper limit. The new value is returned.

§ Blend() [2/2]

X Blend ( const X &  value1,
const X &  value2,
blendValue 
)

§ Sqr() [3/4]

Float Sqr ( a,
b 
)

Calculates square difference of two values.

§ Sqr() [4/4]

Float Sqr ( a)

Calculates square of a value.

§ ASin() [3/4]

Float32 ASin ( Float32  val)

Calculates arcsine. The input value is clipped for safety to avoid exceptions.

§ ASin() [4/4]

Float64 ASin ( Float64  val)

Calculates arcsine. The input value is clipped for safety to avoid exceptions.

§ ACos() [3/4]

Float32 ACos ( Float32  val)

Calculates arccosine. The input value is clipped for safety to avoid exceptions.

§ ACos() [4/4]

Float64 ACos ( Float64  val)

Calculates arccosine. The input value is clipped for safety to avoid exceptions.

§ Rad() [3/4]

Float32 Rad ( Float32  r)

Converts float value from degrees to radians.

§ Rad() [4/4]

Float64 Rad ( Float64  r)

Converts float value from degrees to radians.

§ Deg() [3/4]

Float32 Deg ( Float32  r)

Converts float value from radians to degrees.

§ Deg() [4/4]

Float64 Deg ( Float64  r)

Converts float value from radians to degrees.

§ DegToRad() [3/4]

Float32 DegToRad ( Float32  r)

Converts float value from degrees to radians.

Since
R18

§ DegToRad() [4/4]

Float64 DegToRad ( Float64  r)

Converts float value from degrees to radians.

Since
R18

§ RadToDeg() [3/4]

Float32 RadToDeg ( Float32  r)

Converts float value from radians to degrees.

Since
R18

§ RadToDeg() [4/4]

Float64 RadToDeg ( Float64  r)

Converts float value from radians to degrees.

Since
R18

§ SinCos() [3/4]

void SinCos ( Float32  r,
Float32 sn,
Float32 cs 
)

§ SinCos() [4/4]

void SinCos ( Float64  r,
Float64 sn,
Float64 cs 
)

§ SAFEINT32() [3/4]

Int32 SAFEINT32 ( Float32  x)

Safely converts a 32 bit float value into Int32. The resulting value will be clipped against the Int32 boundaries, without raising an exception.

§ SAFEINT32() [4/4]

Int32 SAFEINT32 ( Float64  x)

Safely converts a 64 bit float value into Int32. The resulting value will be clipped against the Int32 boundaries, without raising an exception.

§ SAFEINT64() [3/4]

Int64 SAFEINT64 ( Float32  x)

Safely converts a 32 bit float value into Int64. The resulting value will be clipped against the Int64 boundaries, without raising an exception.

§ SAFEINT64() [4/4]

Int64 SAFEINT64 ( Float64  x)

Safely converts a 64 bit float value into Int64. The resulting value will be clipped against the Int64 boundaries, without raising an exception

§ SAFEINT() [3/4]

Int SAFEINT ( Float64  x)

Safely converts a 64 bit float value into Int. The resulting value will be clipped against the Int boundaries, without raising an exception

§ SAFEINT() [4/4]

Int SAFEINT ( Float32  x)

Safely converts a 32 bit float value into Int. The resulting value will be clipped against the Int boundaries, without raising an exception

§ SetMax() [2/2]

void SetMax ( T &  a,
const T &  b 
)

Assigns the maximum of two values to the first value.

Parameters
[in,out]aFirst value.
[in]bSecond value.

§ SetMin() [2/2]

void SetMin ( T &  a,
const T &  b 
)

Assigns the minimum of two values to the first value.

Parameters
[in,out]aFirst value.
[in]bSecond value.

Variable Documentation

§ MINVALUE_FLOAT32 [1/2]

const Float32 MINVALUE_FLOAT32
static

the minimum value a Float32 can represent

§ MAXVALUE_FLOAT32 [1/2]

const Float32 MAXVALUE_FLOAT32
static

the maximum value a Float32 can represent

§ MINVALUE_FLOAT64 [1/2]

const Float64 MINVALUE_FLOAT64
static

the minimum value a Float64 can represent

§ MAXVALUE_FLOAT64 [1/2]

const Float64 MAXVALUE_FLOAT64
static

the maximum value a Float64 can represent

§ MINVALUE_INT32_FLOAT32 [1/2]

const Float32 MINVALUE_INT32_FLOAT32
static

minimum Float32 value that can be represented by Int32 (-0x7FFFFF80). Lower values will results in an overflow

§ MAXVALUE_INT32_FLOAT32 [1/2]

const Float32 MAXVALUE_INT32_FLOAT32
static

maximum Float32 value that can be represented by Int32 ( 0x7FFFFF80). Higher values will results in an overflow

§ MINVALUE_INT64_FLOAT64 [1/2]

const Float64 MINVALUE_INT64_FLOAT64
static

minimum Float64 value that can be represented by Int64 (-0x7ffffffffffffdff). Lower values will results in an overflow

§ MAXVALUE_INT64_FLOAT64 [1/2]

const Float64 MAXVALUE_INT64_FLOAT64
static

maximum Float64 value that can be represented by Int64 ( 0x7ffffffffffffdff). Higher values will results in an overflow

§ MINRANGE_FLOAT32 [1/2]

const Float32 MINRANGE_FLOAT32
static

'safe' minimum range for Float32. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MAXRANGE_FLOAT32 [1/2]

const Float32 MAXRANGE_FLOAT32
static

'safe' maximum range for Float32. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MINRANGE_FLOAT64 [1/2]

const Float64 MINRANGE_FLOAT64
static

'safe' minimum range for Float. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MAXRANGE_FLOAT64 [1/2]

const Float64 MAXRANGE_FLOAT64
static

'safe' maximum range for Float. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MINVALUE_FLOAT [1/2]

const Float MINVALUE_FLOAT
static

the minimum value a Float can represent

§ MAXVALUE_FLOAT [1/2]

const Float MAXVALUE_FLOAT
static

the maximum value a Float can represent

§ MINRANGE_FLOAT [1/2]

const Float MINRANGE_FLOAT
static

'safe' minimum range for Float64. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MAXRANGE_FLOAT [1/2]

const Float MAXRANGE_FLOAT
static

'safe' maximum range for Float64. Guarantees that multiplication of two numbers doesn't produce an overflow

§ NOTOK [1/2]

const Int NOTOK
static

constant used for special cases

§ PI [1/2]

const Float64 PI
static

floating point constant: PI

§ PI_INV [1/2]

const Float64 PI_INV
static

floating point constant: 1.0 / PI

§ PI2 [1/2]

const Float64 PI2
static

floating point constant: 2.0 * PI

§ PI2_INV [1/2]

const Float64 PI2_INV
static

floating point constant: 1.0 / (2.0 * PI)

§ PI05 [1/2]

const Float64 PI05
static

floating point constant: 0.5 * PI

§ MINVALUE_FLOAT32 [2/2]

const Float32 MINVALUE_FLOAT32
static

the minimum value a Float32 can represent

§ MAXVALUE_FLOAT32 [2/2]

const Float32 MAXVALUE_FLOAT32
static

the maximum value a Float32 can represent

§ MINVALUE_FLOAT64 [2/2]

const Float64 MINVALUE_FLOAT64
static

the minimum value a Float64 can represent

§ MAXVALUE_FLOAT64 [2/2]

const Float64 MAXVALUE_FLOAT64
static

the maximum value a Float64 can represent

§ MINVALUE_INT32_FLOAT32 [2/2]

const Float32 MINVALUE_INT32_FLOAT32
static

minimum Float32 value that can be represented by Int32 (-0x7FFFFF80). Lower values will results in an overflow

§ MAXVALUE_INT32_FLOAT32 [2/2]

const Float32 MAXVALUE_INT32_FLOAT32
static

maximum Float32 value that can be represented by Int32 ( 0x7FFFFF80). Higher values will results in an overflow

§ MINVALUE_INT64_FLOAT64 [2/2]

const Float64 MINVALUE_INT64_FLOAT64
static

minimum Float64 value that can be represented by Int64 (-0x7ffffffffffffdff). Lower values will results in an overflow

§ MAXVALUE_INT64_FLOAT64 [2/2]

const Float64 MAXVALUE_INT64_FLOAT64
static

maximum Float64 value that can be represented by Int64 ( 0x7ffffffffffffdff). Higher values will results in an overflow

§ MINRANGE_FLOAT32 [2/2]

const Float32 MINRANGE_FLOAT32
static

'safe' minimum range for Float32. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MAXRANGE_FLOAT32 [2/2]

const Float32 MAXRANGE_FLOAT32
static

'safe' maximum range for Float32. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MINRANGE_FLOAT64 [2/2]

const Float64 MINRANGE_FLOAT64
static

'safe' minimum range for Float. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MAXRANGE_FLOAT64 [2/2]

const Float64 MAXRANGE_FLOAT64
static

'safe' maximum range for Float. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MINVALUE_FLOAT [2/2]

const Float MINVALUE_FLOAT
static

the minimum value a Float can represent

§ MAXVALUE_FLOAT [2/2]

const Float MAXVALUE_FLOAT
static

the maximum value a Float can represent

§ MINRANGE_FLOAT [2/2]

const Float MINRANGE_FLOAT
static

'safe' minimum range for Float64. Guarantees that multiplication of two numbers doesn't produce an overflow

§ MAXRANGE_FLOAT [2/2]

const Float MAXRANGE_FLOAT
static

'safe' maximum range for Float64. Guarantees that multiplication of two numbers doesn't produce an overflow

§ NOTOK [2/2]

const Int NOTOK
static

constant used for special cases

§ PI [2/2]

const Float64 PI
static

floating point constant: PI

§ PI_INV [2/2]

const Float64 PI_INV
static

floating point constant: 1.0 / PI

§ PI2 [2/2]

const Float64 PI2
static

floating point constant: 2.0 * PI

§ PI2_INV [2/2]

const Float64 PI2_INV
static

floating point constant: 1.0 / (2.0 * PI)

§ PI05 [2/2]

const Float64 PI05
static

floating point constant: 0.5 * PI