-
Notifications
You must be signed in to change notification settings - Fork 0
c8_integer
Dave Hudson edited this page May 2, 2017
·
5 revisions
c8::integer is a class designed to represent the integers (all positive and negative whole numbers). Conceptually they behave in a somewhat similar way to int, but offer unlimited precision.
- ~integer
auto abs() const -> natural- divide_modulus
auto gcd(const integer &v) const -> integer- is_negative
- is_zero
auto negate() -> integer &auto to_long_long() const -> long long
friend auto operator <<(std::ostream &outstr, const integer &v) -> std::ostream &