Set default rounding mode to FE_NEAREST again. Thanks to Matthias Bentrup for providing some explanations.

This commit is contained in:
Thilo Schulz 2011-09-27 14:43:20 +00:00
parent ebec84c55d
commit 8a500d71da
6 changed files with 34 additions and 59 deletions

View file

@ -810,8 +810,8 @@ void Sys_GLimpInit( void )
void Sys_SetFloatEnv(void)
{
// rounding towards 0
fesetround(FE_TOWARDZERO);
// rounding toward nearest
fesetround(FE_TONEAREST);
}
/*