Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by ww (Archbishop)
on Mar 24, 2012 at 00:29 UTC ( #961337=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?

If I were doing it with a calculator, I'd surely end up with too many or too few entries of 0.001. I might mess it up building an array. Are you sure you have the right number of elements?

You can check easily enough:

say scalar(@arr); # 40 say $#arr; # 39

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://961337]
help
Chatterbox?
Discipulus second time; no questions.. o tempora o mores..
[1nickt]: I understood the first version ;-)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-11-24 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (354 votes). Check out past polls.

    Notices?