38d2602fc1
the function naming problem for complex double function i've recently aksed for in -committers. (The recently committed rev 1.5 of proc.c was actually also part of this update.) Should the mailing lists come to an agreement that f2c better belongs into the ports, this could be done nevertheless. For the time being, we've at least got a current version now. Thanks, Steve! Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
16 lines
224 B
C
16 lines
224 B
C
#include "f2c.h"
|
|
|
|
#define log10e 0.43429448190325182765
|
|
|
|
#ifdef KR_headers
|
|
double log();
|
|
double d_lg10(x) doublereal *x;
|
|
#else
|
|
#undef abs
|
|
#include "math.h"
|
|
double d_lg10(doublereal *x)
|
|
#endif
|
|
{
|
|
return( log10e * log(*x) );
|
|
}
|