STINNER Victor added the comment: We may add tests on fsum() with nan:
assert fsum([nan, nan, nan]) == nan assert fsum([nan, 1.0, inf]) == nan assert fsum([nan, 1.0, -inf]) == nan ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23595> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com