[issue24520] Stop using deprecated floating-point environment functions on FreeBSD

Stefan Krah report at bugs.python.org
Mon Sep 21 16:42:49 CEST 2015


Stefan Krah added the comment:

In theory we should set FENV_ACCESS whenever the control word is
changed (C99):

"If part of a program tests floating-point status flags, sets
floating-point control modes, or runs under non-default mode
settings, but was translated with the state for the FENV_ACCESS
pragma "off", the behavior is undefined."


In practice gcc ignores the pragma, icc and cl.exe use it, not
sure about clang.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24520>
_______________________________________


More information about the Python-bugs-list mailing list