cantera/ext/f2c_libs/r_lg10.c
2012-02-03 23:41:00 +00:00

21 lines
279 B
C

#include "f2c.h"
#define log10e 0.43429448190325182765
#ifdef KR_headers
double log();
double r_lg10(x) real *x;
#else
#undef abs
#include "math.h"
#ifdef __cplusplus
extern "C" {
#endif
double r_lg10(real *x)
#endif
{
return( log10e * log(*x) );
}
#ifdef __cplusplus
}
#endif