#include <charconv_bigint.h>
Public Member Functions | |
BigUnsigned () | |
constexpr | BigUnsigned (uint64_t v) |
BigUnsigned (absl::string_view sv) | |
uint32_t | GetWord (int index) const |
void | MultiplyBy (uint32_t v) |
void | MultiplyBy (uint64_t v) |
template<int M> | |
void | MultiplyBy (const BigUnsigned< M > &other) |
void | MultiplyByFiveToTheNth (int n) |
void | MultiplyByTenToTheNth (int n) |
int | ReadFloatMantissa (const ParsedFloat &fp, int significant_digits) |
void | SetToZero () |
void | ShiftLeft (int count) |
int | size () const |
std::string | ToString () const |
const uint32_t * | words () const |
Static Public Member Functions | |
static constexpr int | Digits10 () |
static BigUnsigned | FiveToTheNth (int n) |
Private Member Functions | |
void | AddWithCarry (int index, uint32_t value) |
void | AddWithCarry (int index, uint64_t value) |
template<uint32_t divisor> | |
uint32_t | DivMod () |
void | MultiplyBy (int other_size, const uint32_t *other_words) |
void | MultiplyStep (int original_size, const uint32_t *other_words, int other_size, int step) |
int | ReadDigits (const char *begin, const char *end, int significant_digits) |
Private Attributes | |
int | size_ |
uint32_t | words_ [max_words] |
Definition at line 54 of file charconv_bigint.h.
|
inline |
Definition at line 59 of file charconv_bigint.h.
|
inlineexplicit |
Definition at line 60 of file charconv_bigint.h.
|
inlineexplicit |
Definition at line 68 of file charconv_bigint.h.
|
inlineprivate |
Definition at line 277 of file charconv_bigint.h.
|
inlineprivate |
Definition at line 293 of file charconv_bigint.h.
|
inlinestatic |
Definition at line 93 of file charconv_bigint.h.
|
inlineprivate |
Definition at line 320 of file charconv_bigint.h.
|
static |
Definition at line 287 of file charconv_bigint.cc.
|
inline |
Definition at line 203 of file charconv_bigint.h.
|
inline |
Definition at line 127 of file charconv_bigint.h.
|
inline |
Definition at line 149 of file charconv_bigint.h.
|
inline |
Definition at line 192 of file charconv_bigint.h.
|
inlineprivate |
Definition at line 267 of file charconv_bigint.h.
|
inline |
Definition at line 161 of file charconv_bigint.h.
|
inline |
Definition at line 172 of file charconv_bigint.h.
|
private |
Definition at line 315 of file charconv_bigint.cc.
|
private |
Definition at line 192 of file charconv_bigint.cc.
int absl::strings_internal::BigUnsigned< max_words >::ReadFloatMantissa | ( | const ParsedFloat & | fp, |
int | significant_digits | ||
) |
Definition at line 170 of file charconv_bigint.cc.
|
inline |
Definition at line 196 of file charconv_bigint.h.
|
inline |
Definition at line 99 of file charconv_bigint.h.
|
inline |
Definition at line 214 of file charconv_bigint.h.
std::string absl::strings_internal::BigUnsigned< max_words >::ToString | ( | ) | const |
Definition at line 338 of file charconv_bigint.cc.
|
inline |
Definition at line 215 of file charconv_bigint.h.
|
private |
Definition at line 342 of file charconv_bigint.h.
|
private |
Definition at line 343 of file charconv_bigint.h.