diff --git a/src/logarithmus.c b/src/logarithmus.c index 248622c..f212821 100644 --- a/src/logarithmus.c +++ b/src/logarithmus.c @@ -11,6 +11,10 @@ double logX(double b, double a){ return(logN(a, 0.000001)/logN(b, 0.000001)); } +double logDec(double a){ + return logX(10.0, a); +} + double logN(double x, double eps){ if(x <= 0){ return -1.0;