Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: expected 0 not result gotten

by Anonymous Monk
on Dec 27, 2011 at 09:27 UTC ( #945161=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: expected 0 not result gotten
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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-08-01 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls