diff options
Diffstat (limited to 'src/math/sqrt.c')
| -rw-r--r-- | src/math/sqrt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/sqrt.c b/src/math/sqrt.c index a53d4750..e415bd65 100644 --- a/src/math/sqrt.c +++ b/src/math/sqrt.c @@ -1,9 +1,10 @@ # define TGSOURCE "sqrt.c" +#include <errno.h> #include <math.h> #include "_tgmath.h" -#include "errno.h" /** square root **/ + TYPE TGFN(sqrt)(TYPE x) { if (x < 0) { @@ -28,7 +29,5 @@ compute the principal square root of ARGUMENT(x). /* IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) -*/ -/* STDC(1) */ |
