diff options
Diffstat (limited to 'src/math/sqrt.c')
| -rw-r--r-- | src/math/sqrt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/sqrt.c b/src/math/sqrt.c index 62346e16..b16b33c2 100644 --- a/src/math/sqrt.c +++ b/src/math/sqrt.c @@ -9,6 +9,7 @@ TYPE TGFN(sqrt)(TYPE x) { + SIGNAL_SAFE(0); if (x < 0) { errno = EDOM; /* ARGUMENT(x) is negative */ return TGHUGE; |
