Mark Dickinson <dicki...@gmail.com> added the comment:

Looks like the test failure is a result of a misplaced (twodigits) cast:  
replacing the line

   carry += (twodigits) ( (*aptr) + (u * (*mptr++)) );

in function mont_reduce with

   carry += *aptr + (twodigits)u * *mptr++;

fixes this.

----------

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

Reply via email to