From 46e4b9b12ec7d170691c2cb05970d6537633fa71 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 13:09:57 -0500 Subject: update standard and safety checks --- src/fenv/feraiseexcept.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/fenv/feraiseexcept.c') diff --git a/src/fenv/feraiseexcept.c b/src/fenv/feraiseexcept.c index 7ad17eb7..cc40934b 100644 --- a/src/fenv/feraiseexcept.c +++ b/src/fenv/feraiseexcept.c @@ -1,24 +1,21 @@ -#if 0 - #include +#include "_safety.h" int feraiseexcept(int excepts) { + SIGNAL_SAFE(0); return excepts; } -/*d +/* The feraiseexcept function raises the supported floating-point exceptions represented by its argument. 178) The order in which these floating-point exceptions are raised is unspecified, except as stated in F.7.6. Whether the feraiseexcept function additionally raises the ‘‘inexact’’ floating-point exception whenever it raises the ‘‘overflow’’ or ‘‘underflow’’ floating-point exception is implementation-defined. -d*/ +*/ /* STDC(199901) LINK(m) */ - - -#endif -- cgit v1.2.1