Flutter Engine
The Flutter Engine
|
#include <bignum.h>
Public Member Functions | |
Bignum () | |
void | AssignUInt16 (const uint16_t value) |
void | AssignUInt64 (uint64_t value) |
void | AssignBignum (const Bignum &other) |
void | AssignDecimalString (const Vector< const char > value) |
void | AssignHexString (const Vector< const char > value) |
void | AssignPowerUInt16 (uint16_t base, const int exponent) |
void | AddUInt64 (const uint64_t operand) |
void | AddBignum (const Bignum &other) |
void | SubtractBignum (const Bignum &other) |
void | Square () |
void | ShiftLeft (const int shift_amount) |
void | MultiplyByUInt32 (const uint32_t factor) |
void | MultiplyByUInt64 (const uint64_t factor) |
void | MultiplyByPowerOfTen (const int exponent) |
void | Times10 () |
uint16_t | DivideModuloIntBignum (const Bignum &other) |
bool | ToHexString (char *buffer, const int buffer_size) const |
Static Public Member Functions | |
static int | Compare (const Bignum &a, const Bignum &b) |
static bool | Equal (const Bignum &a, const Bignum &b) |
static bool | LessEqual (const Bignum &a, const Bignum &b) |
static bool | Less (const Bignum &a, const Bignum &b) |
static int | PlusCompare (const Bignum &a, const Bignum &b, const Bignum &c) |
static bool | PlusEqual (const Bignum &a, const Bignum &b, const Bignum &c) |
static bool | PlusLessEqual (const Bignum &a, const Bignum &b, const Bignum &c) |
static bool | PlusLess (const Bignum &a, const Bignum &b, const Bignum &c) |
Static Public Attributes | |
static const int | kMaxSignificantBits = 3584 |
|
inline |
void double_conversion::Bignum::AddBignum | ( | const Bignum & | other | ) |
Definition at line 166 of file bignum.cc.
void double_conversion::Bignum::AddUInt64 | ( | const uint64_t | operand | ) |
void double_conversion::Bignum::AssignBignum | ( | const Bignum & | other | ) |
void double_conversion::Bignum::AssignDecimalString | ( | const Vector< const char > | value | ) |
Definition at line 97 of file bignum.cc.
void double_conversion::Bignum::AssignHexString | ( | const Vector< const char > | value | ) |
Definition at line 132 of file bignum.cc.
void double_conversion::Bignum::AssignPowerUInt16 | ( | uint16_t | base, |
const int | exponent | ||
) |
Definition at line 427 of file bignum.cc.
void double_conversion::Bignum::AssignUInt16 | ( | const uint16_t | value | ) |
void double_conversion::Bignum::AssignUInt64 | ( | uint64_t | value | ) |
Definition at line 644 of file bignum.cc.
uint16_t double_conversion::Bignum::DivideModuloIntBignum | ( | const Bignum & | other | ) |
Definition at line 502 of file bignum.cc.
void double_conversion::Bignum::MultiplyByPowerOfTen | ( | const int | exponent | ) |
Definition at line 311 of file bignum.cc.
void double_conversion::Bignum::MultiplyByUInt32 | ( | const uint32_t | factor | ) |
Definition at line 250 of file bignum.cc.
void double_conversion::Bignum::MultiplyByUInt64 | ( | const uint64_t | factor | ) |
Definition at line 279 of file bignum.cc.
|
static |
Definition at line 670 of file bignum.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void double_conversion::Bignum::ShiftLeft | ( | const int | shift_amount | ) |
void double_conversion::Bignum::Square | ( | ) |
Definition at line 355 of file bignum.cc.
void double_conversion::Bignum::SubtractBignum | ( | const Bignum & | other | ) |
Definition at line 212 of file bignum.cc.
bool double_conversion::Bignum::ToHexString | ( | char * | buffer, |
const int | buffer_size | ||
) | const |
Definition at line 589 of file bignum.cc.
|
static |