Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: log() and int() problem

by LanX (Canon)
on Dec 25, 2012 at 23:19 UTC ( #1010296=note: print w/ replies, xml ) Need Help??


in reply to Re^3: log() and int() problem
in thread log() and int() problem

> Though a crude fix would be to add 0.5 (i.e. int($l+0.5)

I think you rather meant something like $ll=int($l+5e-15) =)

(15 digits accuracy is just a guess)

Cheers Rolf


Comment on Re^4: log() and int() problem
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-08-02 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (53 votes), past polls