This PR adds BigInt and BigRat sorts by external demand. This PR does not add significant complexity to the codebase, as both BigInt and BigRat are implemented the same way as we've implemented Rational.
As a side effect, this PR also:
consolidates our dependency on num for BigInt
fixes a bug in the add_primitives macro to allow for arguments of different types
This PR adds
BigInt
andBigRat
sorts by external demand. This PR does not add significant complexity to the codebase, as bothBigInt
andBigRat
are implemented the same way as we've implementedRational
.As a side effect, this PR also:
num
forBigInt
add_primitives
macro to allow for arguments of different types