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

Spot on! (Though you do need to know the arbitrary base B):

sub log2p5{ log( $_[0] ) / log( 2.5 ) };; $X = log2p5( 10 ); $Y = log2p5( 15 ); $Z = log2p5( 10 + 15 ); print $X, $Y, $Z;; 2.51294159473206 2.95544864408182 3.51294159473206 print 2.51294159473206 + log2p5( 1 + 2.5**( 2.95544864408182 - 2.51294 +159473206 ) );; 3.51294159473206

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^3: Add numbers in log domain
by salva (Canon) on Jun 04, 2012 at 12:53 UTC
    yes, but it is easy to convert from any base to natural, perform the computation and then convert back to the original base.