[Purdue-pm] .1 + .2 - .3 is 0 in Perl 6 but not in Perl 5

Mark Senn mark at purdue.edu
Mon Feb 2 05:05:28 PST 2015


On my computur, the expression .1 + .2 - .3 gives
    PERL VERSION                                           RESULT
    5.20.0                                                 5.55111512312578e-17
    6 version 2014.09 built on parrat 6.7.0, revision 0    0
I like Perl 6 better.  See
    http://www.slideshare.net/Ovid/perl-6-for-mere-mortals
for more information.

-mark


More information about the Purdue-pm mailing list