Re: equalsTo: is naive
Posted by
Nicolas Cellier on
May 04, 2016; 7:13pm
URL: https://forum.world.st/equalsTo-is-naive-tp4893595p4893624.html
I would attack the asFloat defense with:
(999e1000 relativelyEqualsTo: 998e1000 upTo: 1/100) which I expect to be true
Maybe something closer to closeTo:, just without hardcoded relative precision.
--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
For more options, visit
https://groups.google.com/d/optout.