about summary refs log tree commit diff
path: root/src/fenv/fenv.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2012-11-14 09:27:54 +0100
committerSzabolcs Nagy <nsz@port70.net>2012-11-14 09:27:54 +0100
commit68847ecd3a644d3ffd9be58603be1a3fa437dff0 (patch)
treecb13eef29e33ed630340276958f9fbad4f544e9e /src/fenv/fenv.c
parent45ff9d8eb6f43b8f612d1b01ada627f5b4447c45 (diff)
downloadmusl-68847ecd3a644d3ffd9be58603be1a3fa437dff0.tar.gz
musl-68847ecd3a644d3ffd9be58603be1a3fa437dff0.tar.xz
musl-68847ecd3a644d3ffd9be58603be1a3fa437dff0.zip
fenv: return FE_TONEAREST in dummy fegetround
Diffstat (limited to 'src/fenv/fenv.c')
-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)