Serhiy Storchaka added the comment: > To give just one example, on my machine, the result of `exp(500)` has an > error of 0.42 ulps, while `math.e**500` gives an error of over 150 ulps.
How can it be? math.e**500 = math.exp(math.log(math.e)*500) and math.log(math.e) is 1.0. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12345> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com