Math.log(double X), I need Math.log(X, Y).

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Math.log(double X), I need Math.log(X, Y).

Postby sblantipodi » Mon Apr 05, 2010 5:13 pm

Hi,
I need to calculate the logarithm of X to the base Y.

Android Math classe let me calculate only the log(X),
have you got some tips?
sblantipodi
Senior Developer
Senior Developer
 
Posts: 122
Joined: Fri Mar 26, 2010 1:41 pm

Top

Re: Math.log(double X), I need Math.log(X, Y).

Postby pskink » Mon Apr 05, 2010 5:23 pm

sblantipodi wrote:Hi,
I need to calculate the logarithm of X to the base Y.

Android Math classe let me calculate only the log(X),
have you got some tips?


yes, you should refresh your math skills:

http://en.m.wikipedia.org/wiki/Logarithm
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Re: Math.log(double X), I need Math.log(X, Y).

Postby sblantipodi » Mon Apr 05, 2010 5:27 pm

pskink wrote:
sblantipodi wrote:Hi,
I need to calculate the logarithm of X to the base Y.

Android Math classe let me calculate only the log(X),
have you got some tips?


yes, you should refresh your math skills:

http://en.m.wikipedia.org/wiki/Logarithm


just founded the solution the second after I posted here,
thanks anyway.
sblantipodi
Senior Developer
Senior Developer
 
Posts: 122
Joined: Fri Mar 26, 2010 1:41 pm

Top

Return to General

Who is online

Users browsing this forum: Google Feedfetcher and 4 guests