summaryrefslogtreecommitdiffstats
path: root/lib/libF77
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libF77')
-rw-r--r--lib/libF77/r_lg10.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libF77/r_lg10.c b/lib/libF77/r_lg10.c
index 4ea02f4..87013ae 100644
--- a/lib/libF77/r_lg10.c
+++ b/lib/libF77/r_lg10.c
@@ -1,7 +1,5 @@
#include "f2c.h"
-#define log10e 0.43429448190325182765
-
#ifdef KR_headers
double log();
double r_lg10(x) real *x;
@@ -11,5 +9,5 @@ double r_lg10(x) real *x;
double r_lg10(real *x)
#endif
{
-return( log10e * log(*x) );
+return( log10(*x) );
}
OpenPOWER on IntegriCloud