Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: While loop with addition goes weird (binary float rounding error)

by BillKSmith (Prior)
on Apr 14, 2018 at 13:08 UTC ( #1212872=note: print w/replies, xml ) Need Help??


in reply to Re^4: While loop with addition goes weird (binary float rounding error)
in thread While loop with addition goes weird

The OP probably has the same off-by-one error as your second reference. The floating-point accuracy issue clearly applies to the current question.
Bill
  • Comment on Re^5: While loop with addition goes weird (binary float rounding error)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2020-10-22 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (225 votes). Check out past polls.

    Notices?