Lines Matching full:bignum
5 #include "src/bignum.h"
11 Bignum::Bignum()
26 void Bignum::AssignUInt16(uint16_t value) {
37 void Bignum::AssignUInt64(uint64_t value) {
54 void Bignum::AssignBignum(const Bignum& other) {
82 void Bignum::AssignDecimalString(Vector<const char> value) {
112 void Bignum::AssignHexString(Vector<const char> value) {
142 void Bignum::AddUInt64(uint64_t operand) {
144 Bignum other;
150 void Bignum::AddBignum(const Bignum& other) {
192 void Bignum::SubtractBignum(const Bignum& other) {
219 void Bignum::ShiftLeft(int shift_amount) {
228 void Bignum::MultiplyByUInt32(uint32_t factor) {
254 void Bignum::MultiplyByUInt64(uint64_t factor) {
281 void Bignum::MultiplyByPowerOfTen(int exponent) {
321 void Bignum::Square() {
393 void Bignum::AssignPowerUInt16(uint16_t base, int power_exponent) {
452 // Now do the same thing as a bignum.
467 uint16_t Bignum::DivideModuloIntBignum(const Bignum& other) {
542 bool Bignum::ToHexString(char* buffer, int buffer_size) const {
582 Bignum::Chunk Bignum::BigitAt(int index) const {
589 int Bignum::Compare(const Bignum& a, const Bignum& b) {
607 int Bignum::PlusCompare(const Bignum& a, const Bignum& b, const Bignum& c) {
644 void Bignum::Clamp() {
655 bool Bignum::IsClamped() const {
660 void Bignum::Zero() {
669 void Bignum::Align(const Bignum& other) {
693 void Bignum::BigitsShiftLeft(int shift_amount) {
709 void Bignum::SubtractTimes(const Bignum& other, int factor) {
711 Bignum a, b;
742 DCHECK(Bignum::Equal(a, *this));