Arbitrary-precision arithmetic library