summaryrefslogtreecommitdiff
path: root/gnu/egcs/libf2c/libF77/d_sqrt.c
blob: b5cf83b946f8472c5596e00207946a6f5b028a7f (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) );
}