Home | History | Annotate | Download | only in src

Lines Matching full:bignum

13 class Bignum {
16 // This bignum can encode much bigger numbers, since it contains an
20 Bignum();
23 void AssignBignum(const Bignum& other);
32 void AddBignum(const Bignum& other);
34 void SubtractBignum(const Bignum& other);
46 uint16_t DivideModuloIntBignum(const Bignum& other);
50 static int Compare(const Bignum& a, const Bignum& b);
51 static bool Equal(const Bignum& a, const Bignum& b) {
54 static bool LessEqual(const Bignum& a, const Bignum& b) {
57 static bool Less(const Bignum& a, const Bignum& b) {
61 static int PlusCompare(const Bignum& a, const Bignum& b, const Bignum& c);
63 static bool PlusEqual(const Bignum& a, const Bignum& b, const Bignum& c) {
67 static bool PlusLessEqual(const Bignum& a, const Bignum& b, const Bignum& c) {
71 static bool PlusLess(const Bignum& a, const Bignum& b, const Bignum& c) {
94 void Align(const Bignum& other);
105 void SubtractTimes(const Bignum& other, int factor);
112 // The Bignum's value equals value(bigits_) * 2^(exponent_ * kBigitSize).
115 DISALLOW_COPY_AND_ASSIGN(Bignum);