diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 13:09:57 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 13:09:57 -0500 |
| commit | 46e4b9b12ec7d170691c2cb05970d6537633fa71 (patch) | |
| tree | 8ffccf27d6b67825a0067cc3a3b1aa61d8a310a5 /src/fenv/fegetround.c | |
| parent | b2a8c069960b333c3cded9e0d68d9addee67f6fd (diff) | |
update standard and safety checks
Diffstat (limited to 'src/fenv/fegetround.c')
| -rw-r--r-- | src/fenv/fegetround.c | 17 |
1 files changed, 8 insertions, 9 deletions
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 <fenv.h> +#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 |
