]> granicus.if.org Git - python/commit
Issue #8817: Expose round-to-nearest variant of divmod in _PyLong_Divmod_Near
authorMark Dickinson <dickinsm@gmail.com>
Wed, 26 May 2010 16:02:59 +0000 (16:02 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 26 May 2010 16:02:59 +0000 (16:02 +0000)
commit7f1bf8004de5584b42b1d4771caf12e3302ac506
treef9339da7d757c4f51af52733f4551f6dca64d65b
parente73b21240a985583728b40d53f4274bfe406696b
Issue #8817: Expose round-to-nearest variant of divmod in _PyLong_Divmod_Near
for use by the datetime module; also refactor long_round to use this function.
Include/longobject.h
Objects/longobject.c