projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3 release
[unix-history]
/
usr
/
src
/
usr.lib
/
libF77
/
d_lg10.c
diff --git
a/usr/src/usr.lib/libF77/d_lg10.c
b/usr/src/usr.lib/libF77/d_lg10.c
index
adc1e17
..
87eb070
100644
(file)
--- a/
usr/src/usr.lib/libF77/d_lg10.c
+++ b/
usr/src/usr.lib/libF77/d_lg10.c
@@
-1,13
+1,15
@@
/*
/*
- * "@(#)d_lg10.c 1.1"
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)d_lg10.c 5.3 8/8/85
*/
*/
-#define log10e 0.43429448190325182765
-
double d_lg10(x)
double *x;
{
double d_lg10(x)
double *x;
{
-double log();
+double log
10
();
-return( log10
e * log
(*x) );
+return( log10(*x) );
}
}