Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Add numbers in log domain

by ambrus (Abbot)
on Jun 04, 2012 at 12:34 UTC ( #974282=note: print w/replies, xml ) Need Help??

in reply to Re: Add numbers in log domain
in thread Add numbers in log domain [solved]

Yes, something like that should work. Take the Math::Libm module, and use the expm1 and log1p functions for this. I won't figure out the correct formula now.

Update 2012-06-10: though this won't help OP, future people who stumble this question by searching might want to look at the Math::BigApprox module.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974282]
choroba sees 5
Discipulus more.. and count cloaked monks..
shmem joins the club
[Discipulus]: welcome back to Tkperlmonks virtualsue! ;=)
[virtualsue]: I missed my 17 year anniversary
[erix]: a virtualanniversary , seems apt enough :P
[marto]: :(
[Discipulus]: we can remedy: ♪♫ Happy monkday to you, Hapymonkday virtualsue..♫..
hippo waves at the other 6

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2018-04-24 11:03 GMT
Find Nodes?
    Voting Booth?