the specialization for float numbers
More...
#include </scratch/z5/marcocle/GaudiDocs/lhcb-release/825/GAUDI/GAUDI_v26r3/InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/Lomont.h>
|
| | Lomont (const unsigned short ulps) |
| | constructor from ULPS: More...
|
| |
| bool | operator() (const float a, const float b) const |
| | the only one important method: More...
|
| |
| | Lomont (const unsigned short ulps) |
| | constructor from ULPS: More...
|
| |
| bool | operator() (const float a, const float b) const |
| | the only one important method: More...
|
| |
|
| unsigned short | m_ulps |
| | the precision in "units in last place" More...
|
| |
template<>
class Gaudi::Math::Lomont< float >
the specialization for float numbers
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.
constructor from ULPS:
Definition at line 162 of file Lomont.h.
unsigned short m_ulps
the precision in "units in last place"
the default constructor is disabled
constructor from ULPS:
Definition at line 162 of file Lomont.h.
unsigned short m_ulps
the precision in "units in last place"
the default constructor is disabled
the only one important method:
Definition at line 167 of file Lomont.h.
unsigned short m_ulps
the precision in "units in last place"
GAUDI_API bool lomont_compare_float(const float af, const float bf, const unsigned short maxULPs)
equality comparison of float numbers using as the metric the maximal number of Units in the Last Plac...
the only one important method:
Definition at line 167 of file Lomont.h.
unsigned short m_ulps
the precision in "units in last place"
GAUDI_API bool lomont_compare_float(const float af, const float bf, const unsigned short maxULPs)
equality comparison of float numbers using as the metric the maximal number of Units in the Last Plac...
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:
- InstallArea/x86_64-slc6-gcc48-opt/include/GaudiKernel/Lomont.h