This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients christian.heimes, gregory.p.smith, mark.dickinson, tim.peters, trevp
Date 2009-12-30.13:55:37
SpamBayes Score 0.00014540028
Marked as misclassified No
Message-id <1262181339.1.0.593670059104.issue936813@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-12-30 13:55:39mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, gregory.p.smith, trevp, christian.heimes
2009-12-30 13:55:39mark.dickinsonsetmessageid: <1262181339.1.0.593670059104.issue936813@psf.upfronthosting.co.za>
2009-12-30 13:55:37mark.dickinsonlinkissue936813 messages
2009-12-30 13:55:37mark.dickinsoncreate