the specialization for float numbers
More...
#include <Lomont.h>
|
| | Lomont (const unsigned short ulps) |
| | constructor from ULPS:
|
| |
| bool | operator() (const float a, const float b) const |
| | the only one important method:
|
| |
|
| | Lomont () |
| | the default constructor is disabled
|
| |
|
| unsigned short | m_ulps |
| | the precision in "units in last place"
|
| |
template<>
class Gaudi::Math::Lomont< float >
the specialization for float numbers
Gaudi::Math::Lomont<float> compare ( 100 ) ;
const float a = ... ;
const float b = ... ;
const bool equal = compare ( a , b ) ;
- See Also
- class Gaudi::Math::Lomont
- Attention
- The default precision is not specified!
- See Also
- Gaudi::Math::lomont_compare_float
- 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 156 of file Lomont.h.
| Gaudi::Math::Lomont< float >::Lomont |
( |
const unsigned short |
ulps | ) |
|
|
inline |
constructor from ULPS:
Definition at line 162 of file Lomont.h.
| 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.
| unsigned short Gaudi::Math::Lomont< float >::m_ulps |
|
private |
the precision in "units in last place"
Definition at line 178 of file Lomont.h.
The documentation for this class was generated from the following file:
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r9/GaudiKernel/GaudiKernel/Lomont.h