1 #ifndef GAUDIKERNEL_LOMONT_H 2 #define GAUDIKERNEL_LOMONT_H 1 91 const unsigned short maxULPs ) ;
132 const unsigned int maxULPs ) ;
160 Lomont (
const unsigned short ulps ) : m_ulps ( ulps ) {}
206 Lomont (
const unsigned int ulps ) : m_ulps ( ulps ) {}
243 float next_float (
const float af ,
const short ulps ) ;
262 double next_double (
const double af ,
const short ulps ) ;
270 #endif // GAUDIKERNEL_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...
GAUDI_API float next_float(const float af, const short ulps)
Get the floating number that representation is different with respect to the argument for the certain...
Lomont(const unsigned int ulps)
constructor from ULPS:
unsigned int m_ulps
the precision in "units in last place"
GAUDI_API bool lomont_compare_double(const double af, const double bf, const unsigned int maxULPs)
equality comparison of double numbers using as the metric the maximal number of Units in the Last Pla...
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
The equality comparison of double numbers using as the metric the maximal number of Units in the Last...
Helper functions to set/get the application return code.
Lomont(const unsigned short ulps)
constructor from ULPS:
GAUDI_API double next_double(const double af, const short ulps)
Get the floating number that representation is different with respect to the argument for the certain...