[issue39396] AIX: self.assertEqualSign(math.nextafter(-0.0, +0.0), +0.0) test fails on AIX

Michael Felt report at bugs.python.org
Mon Jan 20 08:08:42 EST 2020


Michael Felt <aixtools at felt.demon.nl> added the comment:

A hard call to make, imho.

Thinking aloud...

Currently, for AIX 6.1 and AIX 7.1 your proposal for the code change would be great, but less so for AIX 7.2.

However! Since libm (on AIX) is a static library - the behavior depends on the support libm has on the build system.

I'll have to puzzle a bit with the configure process and figure out how to best determine the behavior of the build system. On a properly patched AIX 7.2 system the standard code would apply, on others the "adjusted behavior".

So, would you go for modified based on what version of libm is installed, better how this function is behaving?

----------

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


More information about the Python-bugs-list mailing list