Lomont.h File Reference
#include <functional>
#include "GaudiKernel/Kernel.h"
Include dependency graph for Lomont.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Gaudi::Math::Lomont< TYPE >
 The equality comparison of double numbers using as the metric the maximal number of Units in the Last Place (ULP). More...
 
class  Gaudi::Math::Lomont< float >
 the specialization for float numbers More...
 
class  Gaudi::Math::Lomont< double >
 the specialization for double numbers More...
 

Namespaces

 Gaudi
 Helper functions to set/get the application return code.
 
 Gaudi::Math
 

Functions

GAUDI_API bool Gaudi::Math::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 Place (ULP). More...
 
GAUDI_API bool Gaudi::Math::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 Place (ULP). More...
 
GAUDI_API float Gaudi::Math::next_float (const float af, const short ulps)
 Get the floating number that representation is different with respect to the argument for the certain number of "Units in the Last Position". More...
 
GAUDI_API double Gaudi::Math::next_double (const double af, const short ulps)
 Get the floating number that representation is different with respect to the argument for the certain number of "Units in the Last Position". More...