commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BIGNON Emmanuel <emmanuel.big...@thalesgroup.com>
Subject [Math] Use of Precision class for inequalities
Date Wed, 30 Oct 2013 10:45:38 GMT
Hello,

Commons Math has a class "Precision" that defines equalities and inequalities using epsilon
values.
I noticed that Commons Math uses the Precison.equals method when necessary (for equalities),
but never the Precision.compareTo method (for inequalities).
Is there a specific reason for that asymmetrical behaviour?

Emmanuel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message