View Single Post
Old 12th December 2007, 17:52   #12
E-Trance
Senior Member
 
Join Date: Oct 2005
Location: Russia
Posts: 164
Send a message via ICQ to E-Trance


This should be a logarithm of an arbitrary base if possible:
double log(double val, double base);

Or (if it's impossible) a natural logarithm (because it is almost in any library):
double ln(double val);
E-Trance is offline   Reply With Quote