summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
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)
commit63a316c43b5fcd3a7970bdafd4748e0c31235ac1 (patch)
tree422f8958813244c9657f767523e54edfa6969d7b /unix/tclUnixInit.c
parent3da8f74e759e03013e397849f1d550754f6bf059 (diff)
downloadtcl-63a316c43b5fcd3a7970bdafd4748e0c31235ac1.zip
tcl-63a316c43b5fcd3a7970bdafd4748e0c31235ac1.tar.gz
tcl-63a316c43b5fcd3a7970bdafd4748e0c31235ac1.tar.bz2
Remove unnecessary use of fpsetround. See https://bugs.freebsd.org/212512
Diffstat (limited to 'unix/tclUnixInit.c')
-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