|
Gaudi Framework, version v21r11 |
| Home | Generated: 30 Sep 2010 |
#include <Lomont.h>
Public Member Functions | |
| Lomont (const unsigned int ulps) | |
| constructor from ULPS: | |
| bool | operator() (const double a, const double b) const |
| the only one important method: | |
Private Member Functions | |
| Lomont () | |
| the default constructor is disabled | |
Private Attributes | |
| unsigned int | m_ulps |
| the precision in "units in last place" | |
Gaudi::Math::Lomont<double> compare ( 500 ) ; const double a = ... ; const double b = ... ; const bool equal = compare ( a , b ) ;
Definition at line 202 of file Lomont.h.
| Gaudi::Math::Lomont< double >::Lomont | ( | const unsigned int | ulps | ) | [inline] |
| Gaudi::Math::Lomont< double >::Lomont | ( | ) | [private] |
the default constructor is disabled
| bool Gaudi::Math::Lomont< double >::operator() | ( | const double | a, | |
| const double | b | |||
| ) | const [inline] |
the only one important method:
Definition at line 213 of file Lomont.h.
00214 { return lomont_compare_double ( a , b , m_ulps ) ; }
unsigned int Gaudi::Math::Lomont< double >::m_ulps [private] |