Open CASCADE Technology  7.6.0
Functions

Standard_ShortReal.hxx File Reference

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

Functions

Standard_ShortReal ShortRealSmall ()
 
Standard_ShortReal Abs (const Standard_ShortReal Value)
 
Standard_Integer ShortRealDigits ()
 
Standard_ShortReal ShortRealEpsilon ()
 
Standard_ShortReal ShortRealFirst ()
 
Standard_Integer ShortRealFirst10Exp ()
 
Standard_ShortReal ShortRealLast ()
 
Standard_Integer ShortRealLast10Exp ()
 
Standard_Integer ShortRealMantissa ()
 
Standard_Integer ShortRealRadix ()
 
Standard_Integer ShortRealSize ()
 
Standard_ShortReal Max (const Standard_ShortReal Val1, const Standard_ShortReal Val2)
 
Standard_ShortReal Min (const Standard_ShortReal Val1, const Standard_ShortReal Val2)
 
Standard_Integer HashCode (Standard_ShortReal theShortReal, Standard_Integer theUpperBound)
 Computes a hash code for the given short real, in the range [1, theUpperBound]. More...
 
Standard_Boolean IsEqual (const Standard_ShortReal Value1, const Standard_ShortReal Value2)
 

Function Documentation

◆ Abs()

Standard_ShortReal Abs ( const Standard_ShortReal  Value)
inline

◆ HashCode()

Standard_Integer HashCode ( Standard_ShortReal  theShortReal,
Standard_Integer  theUpperBound 
)

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

Parameters
theShortRealthe short 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]

◆ IsEqual()

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

◆ Max()

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

◆ Min()

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

◆ ShortRealDigits()

Standard_Integer ShortRealDigits ( )
inline

◆ ShortRealEpsilon()

Standard_ShortReal ShortRealEpsilon ( )
inline

◆ ShortRealFirst()

Standard_ShortReal ShortRealFirst ( )
inline

◆ ShortRealFirst10Exp()

Standard_Integer ShortRealFirst10Exp ( )
inline

◆ ShortRealLast()

Standard_ShortReal ShortRealLast ( )
inline

◆ ShortRealLast10Exp()

Standard_Integer ShortRealLast10Exp ( )
inline

◆ ShortRealMantissa()

Standard_Integer ShortRealMantissa ( )
inline

◆ ShortRealRadix()

Standard_Integer ShortRealRadix ( )
inline

◆ ShortRealSize()

Standard_Integer ShortRealSize ( )
inline

◆ ShortRealSmall()

Standard_ShortReal ShortRealSmall ( )
inline