Commit graph

4 commits

Author SHA1 Message Date
Legrandin
36bec9d410 Added more methods to Natural
Methods and operators added:
* random()
* and
* comparison
* bool
* in-place right shift
* size_in_bits()
* str
* is_even()
* is_odd()
2014-12-06 12:04:10 +01:00
Legrandin
4969bd2b66 Unit test will cover both Natural implementations 2014-12-06 12:04:10 +01:00
Legrandin
87e2f82965 Initial support for GMP 2014-12-06 12:04:10 +01:00
Legrandin
6f310bc021 First implementation based on int 2014-12-06 12:04:10 +01:00