Raymond Hettinger added the comment: Since the domain and range are ints/longs, this makes more sense as a method on <type 'int'> than as a math module function. The other math module functions mostly have real valued inputs and mostly have counterparts in cmath.
IIRC, Tim wanted the math module to maintain that theme and not become a home to every function that seems a bit "mathematical". I share the sentiment -- it would be nice for the math module to retain its unified theme during its growth spurt. ---------- nosy: +rhettinger __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2138> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com