Open CASCADE Technology  7.7.2
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

Standard_ShortReal Abs ( const Standard_ShortReal  Value)
inline
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]
Standard_Boolean IsEqual ( const Standard_ShortReal  Value1,
const Standard_ShortReal  Value2 
)
inline
Standard_ShortReal Max ( const Standard_ShortReal  Val1,
const Standard_ShortReal  Val2 
)
inline
Standard_ShortReal Min ( const Standard_ShortReal  Val1,
const Standard_ShortReal  Val2 
)
inline
Standard_Integer ShortRealDigits ( )
inline
Standard_ShortReal ShortRealEpsilon ( )
inline
Standard_ShortReal ShortRealFirst ( )
inline
Standard_Integer ShortRealFirst10Exp ( )
inline
Standard_ShortReal ShortRealLast ( )
inline
Standard_Integer ShortRealLast10Exp ( )
inline
Standard_Integer ShortRealMantissa ( )
inline
Standard_Integer ShortRealRadix ( )
inline
Standard_Integer ShortRealSize ( )
inline
Standard_ShortReal ShortRealSmall ( )
inline