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

Re^2: Printf/Sprintf Behavior Change

by Anonymous Monk
on Sep 17, 2013 at 09:08 UTC ( #1054410=note: print w/ replies, xml ) Need Help??


in reply to Re: Printf/Sprintf Behavior Change
in thread Printf/Sprintf Behavior Change

However if you understand the rounding rules for Perl, you will be fine.

Handsom too? Whats that mean "fine"


Comment on Re^2: Printf/Sprintf Behavior Change
Re^3: Printf/Sprintf Behavior Change
by Marshall (Prior) on Sep 17, 2013 at 22:45 UTC
    "fine" means that you understand what is going to happen in whatever number base that you are calculating in. And that no matter what you do, there will most often be imperfect representations in either a decimal or binary format. For example: 1/3. If we aren't in base 3, there is going to be a precision problem.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-04-21 00:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls