http://qs321.pair.com?node_id=945161


in reply to Re: expected 0 not result gotten
in thread expected 0 not result gotten

surprising but true, i get something like, $ perl -we 'my $x = (.0425 * 2) + .0025; print $x - (.042+5 * 2) - .0025, $/;' -9.957 i am using perl 5.8.8

Replies are listed 'Best First'.
Re^3: expected 0 not result gotten
by quester (Vicar) on Dec 28, 2011 at 06:40 UTC

    Do you mean that it surprises you that

    .0425*2
    

    is different than

    .042+5*2
    

    Um... wow... really?