in reply to Re^4: Small Perl 6 discoveries III, Ints
in thread Small Perl 6 discoveries III, Ints

This too is due to the exponential notation always generating Nums instead of Rats. So if you substract a value with rounding errors minus the same value without rounding errors, what you have left is the rounding error.


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^6: Small Perl 6 discoveries III, Ints
by Anonymous Monk on Sep 29, 2017 at 06:05 UTC
    The rounding errors aren't the problem. It's the inconsistency of the rounding errors that's worrying us.