|laziness, impatience, and hubris|
Re: Wrong calculations in for loopby moritz (Cardinal)
|on Aug 22, 2012 at 13:10 UTC||Need Help??|
Luckily you can run the script with only very small changes under Perl 6, and it produces the output you expect:
It accomplishes that magic by doing math with rationals (stored as integer numerator and denominator) by default.