diff options
Diffstat (limited to 'sysdeps/aarch64/fpu')
-rw-r--r-- | sysdeps/aarch64/fpu/fegetround.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/aarch64/fpu/fegetround.c b/sysdeps/aarch64/fpu/fegetround.c index a970ce3569..5428d4de34 100644 --- a/sysdeps/aarch64/fpu/fegetround.c +++ b/sysdeps/aarch64/fpu/fegetround.c @@ -17,13 +17,11 @@ <http://www.gnu.org/licenses/>. */ #include <fenv.h> -#include <fpu_control.h> +#include <get-rounding-mode.h> int fegetround (void) { - fpu_control_t fpcr; - _FPU_GETCW (fpcr); - return fpcr & FE_TOWARDZERO; + return get_rounding_mode (); } libm_hidden_def (fegetround) |