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/log10.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/math/log10.c') diff --git a/src/math/log10.c b/src/math/log10.c index 90f10b64..f0ad9300 100644 --- a/src/math/log10.c +++ b/src/math/log10.c @@ -9,6 +9,7 @@ TYPE TGFN(log10)(TYPE x) { + SIGNAL_SAFE(0); switch (fpclassify(x)) { case FP_ZERO: feraiseexcept(FE_INVALID); return - INFINITY; case FP_INFINITE: if (!signbit(x)) { return x; } break; -- cgit v1.2.1