[issue37474] Should Py_Initialize() control the floating point mode?

STINNER Victor report at bugs.python.org
Mon Jul 29 19:09:22 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

> The current FreeBSD documentation for fedisableexcept says: All exceptions are masked by default.

The fedisableexcept manual page says that since this manual page was added to FreeBSD 6.0 which was released in 2005.

Python started to tune FPU control on FreeBSD in 2002.

Should I understand that fedisableexcept(FE_OVERFLOW) is useless since FreeBSD 6?

I'm also surprised that I never saw any complain about that on other BSD: OpenBSD, NetBSD, macOS, etc. It seems like the fedisableexcept(FE_OVERFLOW) call is useless since a long time.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37474>
_______________________________________


More information about the Python-bugs-list mailing list