fenv: return FE_TONEAREST in dummy fegetround
authorSzabolcs Nagy <nsz@port70.net>
Wed, 14 Nov 2012 08:27:54 +0000 (09:27 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Wed, 14 Nov 2012 08:27:54 +0000 (09:27 +0100)
src/fenv/fenv.c

index f77599bcd8276d5bbfa4e4b1d90df3c48b3857b9..b2dfd254b54ebd14121b2fc24201e9ea0d404ef0 100644 (file)
@@ -19,7 +19,7 @@ int fetestexcept(int mask)
 
 int fegetround(void)
 {
-       return 0;
+       return FE_TONEAREST;
 }
 
 int fesetround(int r)