]> granicus.if.org Git - python/commit
math.factorial depends on PyLong_AsLong correctly converting floats; rewrite
authorMark Dickinson <dickinsm@gmail.com>
Sun, 20 Dec 2009 13:58:18 +0000 (13:58 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 20 Dec 2009 13:58:18 +0000 (13:58 +0000)
commit5698977186bc348223b5fdc5eda677316baa0f5e
tree07a0f77688edbdba7e0ac4b2e46685c6237b6e9d
parent0732fd952baf34eb0636fd6ce4c7093d2d70e98b
math.factorial depends on PyLong_AsLong correctly converting floats; rewrite
it to do the conversion explicitly instead.  See issue #7550.
Modules/mathmodule.c