Home | History | Annotate | Download | only in bigint

Lines Matching refs:BigUnsignedInABase

15  * A BigUnsignedInABase object represents a nonnegative integer of size limited
19 * BigUnsignedInABase is intended as an intermediary class with little
20 * functionality of its own. BigUnsignedInABase objects can be constructed
24 * BigUnsignedInABase is similar to BigUnsigned. Note the following:
27 * BigUnsignedInABase uses ``digits'' (or Digit) where BigUnsigned uses
31 * to add a BigUnsignedInABase class without duplicating a lot of code led me to
34 * (3) The only arithmetic operation supported by BigUnsignedInABase is an
38 class BigUnsignedInABase : protected NumberlikeArray<unsigned short> {
41 // The digits of a BigUnsignedInABase are unsigned shorts.
47 // The base in which this BigUnsignedInABase is expressed
50 // Creates a BigUnsignedInABase with a capacity; for internal use.
51 BigUnsignedInABase(int, Index c) : NumberlikeArray<Digit>(0, c) {}
61 BigUnsignedInABase() : NumberlikeArray<Digit>(), base(2) {}
64 BigUnsignedInABase(const BigUnsignedInABase &x) : NumberlikeArray<Digit>(x), base(x.base) {}
67 void operator =(const BigUnsignedInABase &x) {
73 BigUnsignedInABase(const Digit *d, Index l, Base base);
76 ~BigUnsignedInABase() {}
79 BigUnsignedInABase(const BigUnsigned &x, Base base);
98 * between BigUnsignedInABase and strings. It's not hard.
101 BigUnsignedInABase(const std::string &s, Base base);
119 /* Equality test. For the purposes of this test, two BigUnsignedInABase
121 bool operator ==(const BigUnsignedInABase &x) const {
124 bool operator !=(const BigUnsignedInABase &x) const { return !operator ==(x); }