Home | History | Annotate | Download | only in src

Lines Matching full:bignum

34 class Bignum {
37 // This bignum can encode much bigger numbers, since it contains an
41 Bignum();
44 void AssignBignum(const Bignum& other);
53 void AddBignum(const Bignum& other);
55 void SubtractBignum(const Bignum& other);
67 uint16_t DivideModuloIntBignum(const Bignum& other);
71 static int Compare(const Bignum& a, const Bignum& b);
72 static bool Equal(const Bignum& a, const Bignum& b) {
75 static bool LessEqual(const Bignum& a, const Bignum& b) {
78 static bool Less(const Bignum& a, const Bignum& b) {
82 static int PlusCompare(const Bignum& a, const Bignum& b, const Bignum& c);
84 static bool PlusEqual(const Bignum& a, const Bignum& b, const Bignum& c) {
88 static bool PlusLessEqual(const Bignum& a, const Bignum& b, const Bignum& c) {
92 static bool PlusLess(const Bignum& a, const Bignum& b, const Bignum& c) {
114 void Align(const Bignum& other);
125 void SubtractTimes(const Bignum& other, int factor);
132 // The Bignum's value equals value(bigits_) * 2^(exponent_ * kBigitSize).
135 DISALLOW_COPY_AND_ASSIGN(Bignum);