|
Gaudi Framework, version v21r8 |
| Home | Generated: 17 Mar 2010 |
#include <Lomont.h>


Public Member Functions | |
| Lomont (const unsigned short ulps) | |
| constructor from ULPS: | |
| bool | operator() (const float a, const float b) const |
| the only one important method: | |
Private Member Functions | |
| Lomont () | |
| the default constructor is disabled | |
Private Attributes | |
| unsigned short | m_ulps |
| the precision in "units in last place" | |
Gaudi::Math::Lomont<float> compare ( 100 ) ; const float a = ... ; const float b = ... ; const bool equal = compare ( a , b ) ;
Definition at line 156 of file Lomont.h.
| Gaudi::Math::Lomont< float >::Lomont | ( | const unsigned short | ulps | ) | [inline] |
| Gaudi::Math::Lomont< float >::Lomont | ( | ) | [private] |
the default constructor is disabled
| bool Gaudi::Math::Lomont< float >::operator() | ( | const float | a, | |
| const float | b | |||
| ) | const [inline] |
the only one important method:
Definition at line 167 of file Lomont.h.
00168 { return lomont_compare_float ( a , b , m_ulps ) ; }
unsigned short Gaudi::Math::Lomont< float >::m_ulps [private] |