| Age | Commit message (Collapse) | Author |
|
A couple of bugs in mpn_shl, and overflow bug in mpz_set_from_int.
|
|
|
|
Implement not, shl and shr in mpz library. Add function to create mpzs
on the stack, used for memory efficiency when rhs is a small int.
Factor out code to parse base-prefix of number into a dedicated function.
|
|
Don't need to wrap bitfields in their own struct. Compiler does the
correct thing without it.
|
|
|
|
Also change int -> machine_int_t where appropriate.
|
|
Some functionality is still missing (eg and, or, bit shift), and some
things are buggy (eg subtract).
|