|  |  | 
| EnderUNIX tipsMail to My Friend , Home Page[ C/C++ ] "Take logarithm for any bases" - Metin KAYA - (2007-05-15 16:51:47) [5676] With library functions, logarithms can be only taken for the bases 'e' and 10 ("double log(double x)" and "double log10(double x)"). For example, the logarithm of y on base z can be found in this way: double result = log(y)/log(z); Mail to My Friend , Home Page |  |