Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 pondering the Monastery: (4)
As of 2014-11-22 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (125 votes), past polls