diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 13:24:56 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 13:24:56 -0500 |
| commit | 371913c93cc3ffc4dd0a4a18bc0f3021f0ec05db (patch) | |
| tree | cfed8177dfedcb340b89475c0541c0ab74127abd /src/math/acos.c | |
| parent | 548a71c010f8adf2d71f56436c67136ad6e0f316 (diff) | |
update standard and safety checks
Diffstat (limited to 'src/math/acos.c')
| -rw-r--r-- | src/math/acos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/math/acos.c b/src/math/acos.c index 8c934d0e..ac382bfa 100644 --- a/src/math/acos.c +++ b/src/math/acos.c @@ -9,6 +9,7 @@ TYPE TGFN(acos)(TYPE x) { + SIGNAL_SAFE(0); if (TGFN(fabs)(x) > 1) { feraiseexcept(FE_INVALID); return NAN; |
