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

Re^4: sprintf rounding convention

by Joost (Canon)
on Oct 30, 2009 at 23:14 UTC ( [id://804235]=note: print w/replies, xml ) Need Help??


in reply to Re^3: sprintf rounding convention
in thread sprintf rounding convention

I think the main problem is that neither of those two numbers can be accurately represented by binary (IEEE) floating points.

For what it's worth, I get the same results as your linux test on my intel macbook, v5.8.9 built for darwin-2level and v5.8.8 built for darwin-thread-multi-2level.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2025-06-18 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.