Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: Is this odd behavior a floating point problem?

by Eliya (Vicar)
on Mar 24, 2012 at 01:09 UTC ( #961342=note: print w/replies, xml ) Need Help??

in reply to Re^2: Is this odd behavior a floating point problem?
in thread Is this odd behavior a floating point problem?

... you start with non-zero ...

Not sure what you're talking about.

n times adding x to zero is mathematically (but not necessarily numerically) the same as n * x.

$ perl -le '$sum += 1 for 1..40; print $sum' 40

So where is the problem?  I think you overlooked that $sum is initially undef/zero.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://961342]
[Corion]: Yeah - I have either to come up with a better search query or simply steal the template of some other file download site... I'm thinking of turning the JSON for Strawberry Perl releases into a small website that offers the files for download, with a ...
[Corion]: ... separate page per release, and potentially RSS for the versions

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-02-28 08:35 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (398 votes). Check out past polls.