STINNER Victor <[EMAIL PROTECTED]> added the comment: About large integers which can not be converted to float (too big!): it would be nice if math.log2() and/or math.log10() works which such numbers. But it would better if you know if the functions used the FPU or not (only integers). Idea: - logX(int)->int: don't use FPU - logX(float)->float: use FPU - logX(int)->float: use FPU
What should be the default type for logX(int)? People expects float when using logX(). Note: logX() means math.log(), math.log2() and/or math.log10(). ---------- nosy: +haypo _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3724> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com