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.
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to