summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgahr <gahr@gahr.ch>2016-09-09 07:28:45 (GMT)
committergahr <gahr@gahr.ch>2016-09-09 07:28:45 (GMT)
commit768ec09104da815f43907bc6c3f829d03d4d4fc9 (patch)
tree422f8958813244c9657f767523e54edfa6969d7b
parentc088b6c59a66d5a20ea5ebff150030eb453fa0a9 (diff)
downloadtcl-768ec09104da815f43907bc6c3f829d03d4d4fc9.zip
tcl-768ec09104da815f43907bc6c3f829d03d4d4fc9.tar.gz
tcl-768ec09104da815f43907bc6c3f829d03d4d4fc9.tar.bz2
Remove unnecessary use of fpsetround. See https://bugs.freebsd.org/212512
-rw-r--r--unix/tclUnixInit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 57215f1..91fb986 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -391,14 +391,6 @@ TclpInitPlatform(void)
#endif /* SIGPIPE */
#if defined(__FreeBSD__) && defined(__GNUC__)
- /*
- * Adjust the rounding mode to be more conventional. Note that FreeBSD
- * only provides the __fpsetreg() used by the following two for the GNU
- * Compiler. When using, say, Intel's icc they break. (Partially based on
- * patch in BSD ports system from root@celsius.bychok.com)
- */
-
- fpsetround(FP_RN);
(void) fpsetmask(0L);
#endif