* lib/objc.exp: Add -lposix4 on Solaris 2.8.
[official-gcc.git] / libf2c / libF77 / d_lg10.c
blobc0892bd512aae2724d58dd308028403321212b89
1 #include "f2c.h"
3 #define log10e 0.43429448190325182765
5 #ifdef KR_headers
6 double log();
7 double d_lg10(x) doublereal *x;
8 #else
9 #undef abs
10 #include <math.h>
11 double d_lg10(doublereal *x)
12 #endif
14 return( log10e * log(*x) );