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 <>
Python-bugs-list mailing list

Reply via email to