diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 13:38:04 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 13:38:04 -0500 |
| commit | b25685d5dc26370ecae112f805b4141c4efdeea4 (patch) | |
| tree | 1ffce549af46ae52d6b760733ba6e5b62ede4998 /src/complex/cacos.c | |
| parent | f4f929b02eaed8ef8b798780ee5640bdd6809867 (diff) | |
update safety checks
Diffstat (limited to 'src/complex/cacos.c')
| -rw-r--r-- | src/complex/cacos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/complex/cacos.c b/src/complex/cacos.c index b7305f3f..ceaef9dd 100644 --- a/src/complex/cacos.c +++ b/src/complex/cacos.c @@ -8,6 +8,7 @@ TYPE complex TGFN(cacos)(TYPE complex z) { + SIGNAL_SAFE(0); int classr = fpclassify(TGFN(creal)(z)); int classi = fpclassify(TGFN(cimag)(z)); int signr = signbit(TGFN(creal)(z)); |
