Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
Hello.
The article
http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm
proposes a robust way of comparing floating-point numbers (look for "AlmostEqual2sComplement").
It provides an implementation (in C) for type "float", which should be adapted to take 2 "double"s instead.
Gilles