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/fegetround.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/fenv/fegetround.c') diff --git a/src/fenv/fegetround.c b/src/fenv/fegetround.c index 39855a99..6aa133b7 100644 --- a/src/fenv/fegetround.c +++ b/src/fenv/fegetround.c @@ -1,26 +1,25 @@ -#if 0 - #include +#include "_safety.h" + +#undef fegetround int fegetround(void) { + SIGNAL_SAFE(0); return 0; } -/*d +/* The fegetround function gets the current rounding direction. -d*/ +*/ -/*r +/* The fegetround function returns the value of the rounding direction macro representing the current rounding direction or a negative value if there is no such rounding direction macro or the current rounding direction is not determinable. -r*/ +*/ /* STDC(199901) LINK(m) */ - - -#endif -- cgit v1.2.1