Mark Dickinson added the comment: One more comment: the Py_IS_NAN test in acosh is likely never reached, since the comparison x >= two_pow_p28 will probably evaluate to 0 when x is a NaN. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1640> __________________________________