1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

Oops, I thought I was fixing the double precision lg10 in the

previous revision.  Use log10f() instead of log10().  log10f() is
currently slightly slower than log10() on P5's, but it is potentially
significantly faster.

Fixed declaration of the C function used in the (unused?) KR_headers
case.
This commit is contained in:
Bruce Evans 1997-02-24 17:35:33 +00:00
parent 9135a51377
commit 9e2d0733c5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23079

View File

@ -1,7 +1,7 @@
#include "f2c.h"
#ifdef KR_headers
double log();
float log10f();
double r_lg10(x) real *x;
#else
#undef abs
@ -9,5 +9,5 @@ double r_lg10(x) real *x;
double r_lg10(real *x)
#endif
{
return( log10(*x) );
return( log10f(*x) );
}