Raymond Hettinger added the comment: I agree with Mark. This code is *very* old and AFAICT it has never caused a problem in practice.
The "textbook" formula is more important in languages without something like Python long ints. In Python, "textbook" form just slows down and obfuscates the intention of the code. ---------- status: pending -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23007> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com