Alexander Belopolsky added the comment:

> You saw the demo python implementation of divmod_near in Objects/longobject.c?

I was looking for it, but could not find.  Thanks for the pointer.  (See also 
#8817.)

In issue23521-6.patch, I've used a slightly optimized variant of divmod_near 
code and beefed up the tests some more because the code
is somewhat non-obvious.

----------
Added file: http://bugs.python.org/file38254/issue23521-6.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to