about summary refs log tree commit diff
path: root/src/fenv
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv')
-rw-r--r--src/fenv/fenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fenv/fenv.c b/src/fenv/fenv.c
index f77599bc..b2dfd254 100644
--- a/src/fenv/fenv.c
+++ b/src/fenv/fenv.c
@@ -19,7 +19,7 @@ int fetestexcept(int mask)
 
 int fegetround(void)
 {
-	return 0;
+	return FE_TONEAREST;
 }
 
 int fesetround(int r)