summaryrefslogtreecommitdiff
path: root/src/math/atan2.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 13:24:56 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 13:24:56 -0500
commit371913c93cc3ffc4dd0a4a18bc0f3021f0ec05db (patch)
treecfed8177dfedcb340b89475c0541c0ab74127abd /src/math/atan2.c
parent548a71c010f8adf2d71f56436c67136ad6e0f316 (diff)
update standard and safety checks
Diffstat (limited to 'src/math/atan2.c')
-rw-r--r--src/math/atan2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/math/atan2.c b/src/math/atan2.c
index d81b417e..f7cc8ebd 100644
--- a/src/math/atan2.c
+++ b/src/math/atan2.c
@@ -3,13 +3,14 @@
# define TGSOURCE "atan2.c"
#include <errno.h>
#include <math.h>
-#include "_assert.h"
+#include "_safety.h"
#include "_tgmath.h"
/** arc tangent **/
TYPE TGFN(atan2)(TYPE y, TYPE x)
{
+ SIGNAL_SAFE(0);
int classy = fpclassify(y);
int classx = fpclassify(x);
ASSERT_NONZERO(x);