Fredrik Johansson <fredrik.johans...@gmail.com> added the comment: FYI, Brent & Zimmermann call this function nbits(n) in "Modern Computer Arithmetic": http://www.loria.fr/~zimmerma/mca/pub226.html
I don't really care much about the name though. In the documentation, should "same value as ``x.bit_length``" not be "same value as ``x.bit_length()``"? _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3439> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com