Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This does rely on mp_digit being at least 32-bit, but we rely on that elsewhere in multiple other places already. Gives ~15% off a Rat addition benchmark.
- Loading branch information
2fe2f58
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jnthn Note that we recently added mp_set_i32 and related functions to tommath master. There are more changes which might be useful for you (bitwise operations, double get/set, ...).