Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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
Replies are listed 'Best First'.
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 taking refuge in the Monastery: (9)
As of 2015-08-28 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (334 votes), past polls