summaryrefslogtreecommitdiffstats
path: root/lib/libF77/d_sqrt.c
blob: bee10a3a551f3ccc3fc05e0368aea78126b09078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "f2c.h"

#ifdef KR_headers
double sqrt();
double d_sqrt(x) doublereal *x;
#else
#undef abs
#include "math.h"
double d_sqrt(doublereal *x)
#endif
{
return( sqrt(*x) );
}
OpenPOWER on IntegriCloud