Set default rounding mode to FE_NEAREST again. Thanks to Matthias Bentrup for providing some explanations.
This commit is contained in:
1 parent
ebec84c55d
commit
8a500d71da
6 files changed
+34
-59
No files matched your search
+2
-2
@@ -810,8 +810,8 @@ void Sys_GLimpInit( void )
|
||||
|
||||
void Sys_SetFloatEnv(void)
|
||||
{
|
||||
// rounding towards 0
|
||||
fesetround(FE_TOWARDZERO);
|
||||
// rounding toward nearest
|
||||
fesetround(FE_TONEAREST);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user