Message45794
Logged In: YES
user_id=973611
Tim, thanks for the feedback. I'm uploading a new patch
against CVS latest that fixes those issues, and adds docs
and tests. Also, I cleaned up the code quite a bit, and got
it properly handling (I hope) all the varied combinations of
ints/longs, positives/negatives/zeros etc..
Unfortunately, Montgomery is the bulk of the speedup:
http://trevp.net/long_pow/
But I could split out the negative exponent handling into a
separate patch, if that would be easier.
Anyways, I'd like to add more tests for the exponentiation
stuff. Aside from that, I think the patch is complete. And
more robust than previously, though I still wouldn't trust
it until another person or two gives it a serious
looking-over.... |
|
Date |
User |
Action |
Args |
2007-08-23 15:37:17 | admin | link | issue936813 messages |
2007-08-23 15:37:17 | admin | create | |
|