aboutsummaryrefslogtreecommitdiff
path: root/lib/libF77
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-02-24 17:44:08 +0000
committerBruce Evans <bde@FreeBSD.org>1997-02-24 17:44:08 +0000
commit5d8d8dd3b68ba4176368c890f38c03b1e6e2be45 (patch)
tree1b9f54c259d2b4a658d83e51242c6a2516d396f0 /lib/libF77
parent9e2d0733c538d60b75623f0a3d222786f3375435 (diff)
Notes
Diffstat (limited to 'lib/libF77')
-rw-r--r--lib/libF77/d_lg10.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libF77/d_lg10.c b/lib/libF77/d_lg10.c
index f03ff0043f86..3135881c56a6 100644
--- a/lib/libF77/d_lg10.c
+++ b/lib/libF77/d_lg10.c
@@ -1,9 +1,7 @@
#include "f2c.h"
-#define log10e 0.43429448190325182765
-
#ifdef KR_headers
-double log();
+double log10();
double d_lg10(x) doublereal *x;
#else
#undef abs
@@ -11,5 +9,5 @@ double d_lg10(x) doublereal *x;
double d_lg10(doublereal *x)
#endif
{
-return( log10e * log(*x) );
+return( log10(*x) );
}