New "equals" method in "MathUtils"
----------------------------------
Key: MATH-264
URL: https://issues.apache.org/jira/browse/MATH-264
Project: Commons Math
Issue Type: New Feature
Reporter: Gilles
Priority: Minor
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.