Sfoglia il codice sorgente

fenv: return FE_TONEAREST in dummy fegetround

Szabolcs Nagy 12 anni fa
parent
commit
68847ecd3a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)