From 371913c93cc3ffc4dd0a4a18bc0f3021f0ec05db Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 13:24:56 -0500 Subject: update standard and safety checks --- src/math/log1p.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/math/log1p.c') diff --git a/src/math/log1p.c b/src/math/log1p.c index 5de637b7..4163a184 100644 --- a/src/math/log1p.c +++ b/src/math/log1p.c @@ -7,6 +7,7 @@ TYPE TGFN(log1p)(TYPE x) { + SIGNAL_SAFE(0); switch (fpclassify(x)) { case FP_ZERO: return x; case FP_INFINITE: if (!signbit(x)) { return x; } break; -- cgit v1.2.1