diff options
Diffstat (limited to 'gnu/lib/libf2c/libF77/d_sqrt.c')
-rw-r--r-- | gnu/lib/libf2c/libF77/d_sqrt.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/lib/libf2c/libF77/d_sqrt.c b/gnu/lib/libf2c/libF77/d_sqrt.c new file mode 100644 index 00000000000..b5cf83b946f --- /dev/null +++ b/gnu/lib/libf2c/libF77/d_sqrt.c @@ -0,0 +1,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) ); +} |