Open CASCADE Technology  7.4.0
Functions

Standard_Real.hxx File Reference

#include <cmath>
#include <float.h>
#include <Standard_values.h>
#include <Standard_math.hxx>
#include <Standard_TypeDef.hxx>

Functions

Standard_Integer HashCode (Standard_Real theReal, Standard_Integer theUpperBound)
 Computes a hash code for the given real, in the range [1, theUpperBound]. More...
 
Standard_Real ACos (const Standard_Real)
 
Standard_Real ACosApprox (const Standard_Real)
 
Standard_Real ASin (const Standard_Real)
 
Standard_Real ATan2 (const Standard_Real, const Standard_Real)
 
Standard_Real NextAfter (const Standard_Real, const Standard_Real)
 
Standard_Real Sign (const Standard_Real a, const Standard_Real b)
 Returns |a| if b >= 0; -|a| if b < 0. More...
 
Standard_Real ATanh (const Standard_Real)
 
Standard_Real ACosh (const Standard_Real)
 
Standard_Real Sinh (const Standard_Real)
 
Standard_Real Cosh (const Standard_Real)
 
Standard_Real Log (const Standard_Real)
 
Standard_Real Sqrt (const Standard_Real)
 
Standard_Real RealSmall ()
 
Standard_Real Abs (const Standard_Real Value)
 
Standard_Boolean IsEqual (const Standard_Real Value1, const Standard_Real Value2)
 
Standard_Integer RealDigits ()
 
Standard_Real RealEpsilon ()
 
Standard_Real RealFirst ()
 
Standard_Integer RealFirst10Exp ()
 
Standard_Real RealLast ()
 
Standard_Integer RealLast10Exp ()
 
Standard_Integer RealMantissa ()
 
Standard_Integer RealRadix ()
 
Standard_Integer RealSize ()
 
Standard_Real IntToReal (const Standard_Integer Value)
 
Standard_Real ATan (const Standard_Real Value)
 
Standard_Real Ceiling (const Standard_Real Value)
 
Standard_Real Cos (const Standard_Real Value)
 
Standard_Real Epsilon (const Standard_Real Value)
 
Standard_Real Exp (const Standard_Real Value)
 
Standard_Real Floor (const Standard_Real Value)
 
Standard_Real IntegerPart (const Standard_Real Value)
 
Standard_Real Log10 (const Standard_Real Value)
 
Standard_Real Max (const Standard_Real Val1, const Standard_Real Val2)
 
Standard_Real Min (const Standard_Real Val1, const Standard_Real Val2)
 
Standard_Real Pow (const Standard_Real Value, const Standard_Real P)
 
Standard_Real RealPart (const Standard_Real Value)
 
Standard_Integer RealToInt (const Standard_Real Value)
 
Standard_ShortReal RealToShortReal (const Standard_Real theVal)
 
Standard_Real Round (const Standard_Real Value)
 
Standard_Real Sin (const Standard_Real Value)
 
Standard_Real ASinh (const Standard_Real Value)
 
Standard_Real Square (const Standard_Real Value)
 
Standard_Real Tan (const Standard_Real Value)
 
Standard_Real Tanh (const Standard_Real Value)
 

Function Documentation

◆ Abs()

Standard_Real Abs ( const Standard_Real  Value)
inline

◆ ACos()

Standard_Real ACos ( const Standard_Real  )

◆ ACosApprox()

Standard_Real ACosApprox ( const Standard_Real  )

◆ ACosh()

Standard_Real ACosh ( const Standard_Real  )

◆ ASin()

Standard_Real ASin ( const Standard_Real  )

◆ ASinh()

Standard_Real ASinh ( const Standard_Real  Value)
inline

◆ ATan()

Standard_Real ATan ( const Standard_Real  Value)
inline

◆ ATan2()

Standard_Real ATan2 ( const Standard_Real  ,
const Standard_Real   
)

◆ ATanh()

Standard_Real ATanh ( const Standard_Real  )

◆ Ceiling()

Standard_Real Ceiling ( const Standard_Real  Value)
inline

◆ Cos()

Standard_Real Cos ( const Standard_Real  Value)
inline

◆ Cosh()

Standard_Real Cosh ( const Standard_Real  )

◆ Epsilon()

Standard_Real Epsilon ( const Standard_Real  Value)
inline

◆ Exp()

Standard_Real Exp ( const Standard_Real  Value)
inline

◆ Floor()

Standard_Real Floor ( const Standard_Real  Value)
inline

◆ HashCode()

Standard_Integer HashCode ( Standard_Real  theReal,
Standard_Integer  theUpperBound 
)

Computes a hash code for the given real, in the range [1, theUpperBound].

Parameters
theRealthe real value which hash code is to be computed
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]

◆ IntegerPart()

Standard_Real IntegerPart ( const Standard_Real  Value)
inline

◆ IntToReal()

Standard_Real IntToReal ( const Standard_Integer  Value)
inline

◆ IsEqual()

Standard_Boolean IsEqual ( const Standard_Real  Value1,
const Standard_Real  Value2 
)
inline

◆ Log()

Standard_Real Log ( const Standard_Real  )

◆ Log10()

Standard_Real Log10 ( const Standard_Real  Value)
inline

◆ Max()

Standard_Real Max ( const Standard_Real  Val1,
const Standard_Real  Val2 
)
inline

◆ Min()

Standard_Real Min ( const Standard_Real  Val1,
const Standard_Real  Val2 
)
inline

◆ NextAfter()

Standard_Real NextAfter ( const Standard_Real  ,
const Standard_Real   
)

◆ Pow()

Standard_Real Pow ( const Standard_Real  Value,
const Standard_Real  P 
)
inline

◆ RealDigits()

Standard_Integer RealDigits ( )
inline

◆ RealEpsilon()

Standard_Real RealEpsilon ( )
inline

◆ RealFirst()

Standard_Real RealFirst ( )
inline

◆ RealFirst10Exp()

Standard_Integer RealFirst10Exp ( )
inline

◆ RealLast()

Standard_Real RealLast ( )
inline

◆ RealLast10Exp()

Standard_Integer RealLast10Exp ( )
inline

◆ RealMantissa()

Standard_Integer RealMantissa ( )
inline

◆ RealPart()

Standard_Real RealPart ( const Standard_Real  Value)
inline

◆ RealRadix()

Standard_Integer RealRadix ( )
inline

◆ RealSize()

Standard_Integer RealSize ( )
inline

◆ RealSmall()

Standard_Real RealSmall ( )
inline

◆ RealToInt()

Standard_Integer RealToInt ( const Standard_Real  Value)
inline

◆ RealToShortReal()

Standard_ShortReal RealToShortReal ( const Standard_Real  theVal)
inline

◆ Round()

Standard_Real Round ( const Standard_Real  Value)
inline

◆ Sign()

Standard_Real Sign ( const Standard_Real  a,
const Standard_Real  b 
)

Returns |a| if b >= 0; -|a| if b < 0.

◆ Sin()

Standard_Real Sin ( const Standard_Real  Value)
inline

◆ Sinh()

Standard_Real Sinh ( const Standard_Real  )

◆ Sqrt()

Standard_Real Sqrt ( const Standard_Real  )

◆ Square()

Standard_Real Square ( const Standard_Real  Value)
inline

◆ Tan()

Standard_Real Tan ( const Standard_Real  Value)
inline

◆ Tanh()

Standard_Real Tanh ( const Standard_Real  Value)
inline