Gaudi Framework, version v23r0 |
Home | Generated: Mon Jan 30 2012 |
the specialization for double numbers More...
#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" |
the specialization for double numbers
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.
{ return lomont_compare_double ( a , b , m_ulps ) ; }
unsigned int Gaudi::Math::Lomont< double >::m_ulps [private] |