diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-31 15:54:38 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-31 15:54:38 -0500 |
| commit | 57fd57ab4005e37bfab4bf7c637eecc1eb5445b5 (patch) | |
| tree | a5cc5b9ad040955a0a7247091cbc542f297229bb /src/math | |
| parent | 1dcdfdc0141e94b57b80526ca917b1228fe53f53 (diff) | |
clean up UB detection
Diffstat (limited to 'src/math')
| -rw-r--r-- | src/math/atan2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/math/atan2.c b/src/math/atan2.c index f1cbe879..48321d3d 100644 --- a/src/math/atan2.c +++ b/src/math/atan2.c @@ -11,7 +11,6 @@ TYPE TGFN(atan2)(TYPE y, TYPE x) SIGNAL_SAFE(0); int classy = fpclassify(y); int classx = fpclassify(x); - ASSERT_NONZERO(x); if (classy == FP_ZERO && classx == 0) { if (signbit(x)) { |
