Gaudi Framework, version v23r2

Home   Generated: Thu Jun 28 2012

Lomont Class Reference

The equality comparison of double numbers using as the metric the maximal number of Units in the Last Place (ULP). More...

#include <Lomont.h>


Detailed Description

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.

See also:
www.lomont.org
http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm

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.

Attention:
Only the specializations of this class has sense!
Author:
Vanya BELYAEV Ivan.Belyaev@nikhef.nl
Date:
2009-10-22

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Thu Jun 28 2012 23:27:42 for Gaudi Framework, version v23r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004