summaryrefslogtreecommitdiff
path: root/src/sys/sys_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/sys_unix.c')
-rw-r--r--src/sys/sys_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/sys_unix.c b/src/sys/sys_unix.c
index 26fb2b29..a712e41d 100644
--- a/src/sys/sys_unix.c
+++ b/src/sys/sys_unix.c
@@ -803,8 +803,8 @@ void Sys_GLimpInit( void )
void Sys_SetFloatEnv(void)
{
- // rounding towards 0
- fesetround(FE_TOWARDZERO);
+ // rounding toward nearest
+ fesetround(FE_TONEAREST);
}
/*