Wolfgang Glas a écrit : > Gilles Sadowski schrieb: >> Hi. >> >>> There is a very good article on ieee754 equality under >>> >>> http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm >>> >>> which contains an excessive discussion about various "equality" approaches. >>> >>> IMHO it should be moreover considered to include the >>> "AlomostEquals2sComplement" >>> method of this paper into commons-math if not done so far. >> It would be a nice addition to "util.MathUtils". >> I'll open another JIRA issue. > > Could you please CC me to this issue. I'm surrentyl not involved in > commons-math, but I'm going to use it in a few weeks. Maybe I can contribute > code and/or testcases to this issue ;-)
Gilles sent me directly the patch, including tests, and I have checked it in. If you want to check the implementation and the tests, you can retrieve them from subversion. Thanks for the help Luc > > Regards, > > Wolfgang > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org