![]() |
The Gaudi Framework
v28r0
|
The equality comparison of double numbers using as the metric the maximal number of Units in the Last Place (ULP). More...
#include <GaudiKernel/Lomont.h>
The equality comparison of double numbers using as the metric the maximal number of Units in the Last Place (ULP).
It is a slightly modified version of very efficient implementation of the initial Bruce Dawson's algorithm by Chris Lomont.
C.Lomont claims the algorithm is factor 2-10 more efficient with respect to classical Knuth's algorithm for comparison of the floating number using the relative precision.