the specialization for double numbers
More...
#include <Lomont.h>
|
| | Lomont (const unsigned int ulps) |
| | constructor from ULPS:
|
| |
| bool | operator() (const double a, const double b) const |
| | the only one important method:
|
| |
|
| | Lomont () |
| | the default constructor is disabled
|
| |
|
| unsigned int | m_ulps |
| | the precision in "units in last place"
|
| |
template<>
class Gaudi::Math::Lomont< double >
the specialization for double numbers
- See Also
- class Gaudi::Math::Lomont
- Attention
- The default precision is not specified!
- See Also
- Gaudi::Math::lomont_compare_float
Gaudi::Math::Lomont<double> compare ( 500 ) ;
const double a = ... ;
const double b = ... ;
const bool equal = compare ( a , b ) ;
- Author
- Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@n.nosp@m.ikhe.nosp@m.f.nl
- Date
- 2009-10-22
Definition at line 202 of file Lomont.h.
| Gaudi::Math::Lomont< double >::Lomont |
( |
const unsigned int |
ulps | ) |
|
|
inline |
constructor from ULPS:
Definition at line 208 of file Lomont.h.
| 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.
| unsigned int Gaudi::Math::Lomont< double >::m_ulps |
|
private |
the precision in "units in last place"
Definition at line 224 of file Lomont.h.
The documentation for this class was generated from the following file:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r7/GaudiKernel/GaudiKernel/Lomont.h