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

My interpretation of the OP is: Given two (log) values X & Y where both are the logs to the same (unspecified) base: B; is it possible to derive Z, such that Z = logB( B^X + B^Y ); without going through the exponentiation step.

Eg.

X = logB( x ) = 2.51294159473206;

Y = logB( y ) = 2.95544864408182;

Z = logB( x + y ) = 3.51294159473206;

Is it possible to derive Z without discovering x & y by 'antilogging' X & Y?


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 pRaNaV (Novice) on Jun 05, 2012 at 05:59 UTC

    Sorry, for not being clear. Yes, BrowserUK is right. I wan't to know how this (log(x + y)) can be done in perl without using exponentiation (base^x, base^y etc.).