From 57fd57ab4005e37bfab4bf7c637eecc1eb5445b5 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 31 Jan 2024 15:54:38 -0500 Subject: clean up UB detection --- src/math/atan2.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/math') 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)) { -- cgit v1.2.1