Re:0.3 - 0.2 == 0.2 - 0.1 is falsy. Which language gets this...
by draegtun on Friday October 05, 2012 @06:11AM
(#4616278)
Perl6 gets it right:
Because Perl6 use Rationals by default:
To get it to work in perl5 you need to use bigrat pragma:
I think Clojure is another language that uses Rationals by default.
[ Parent
| on HN ]
There are no comments on this comment yet.