Explorar o código

fenv: return FE_TONEAREST in dummy fegetround

Szabolcs Nagy %!s(int64=12) %!d(string=hai) anos
pai
achega
68847ecd3a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/fenv/fenv.c

+ 1 - 1
src/fenv/fenv.c

@@ -19,7 +19,7 @@ int fetestexcept(int mask)
 
 int fegetround(void)
 {
-	return 0;
+	return FE_TONEAREST;
 }
 
 int fesetround(int r)