help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] logic error logarithms


From: yperez_riverol (sent by Nabble.com)
Subject: [Help-gsl] logic error logarithms
Date: Wed, 18 Jan 2006 08:19:14 -0800 (PST)

I have a big quetions. 

I want calculate logarithms base 2 of x.
for this my code is:

result = (gsl_sf_log(x)/gsl_sf_log(2));

when x=100 the logic result=2, but the program show me 6.

Please aswer...

Thanks...  

--
View this message in context: 
http://www.nabble.com/logic-error-logarithms-t945779.html#a2450116
Sent from the Gnu - Gsl - Help forum at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]