BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <bigint.hpp>
Public Member Functions | |
bigint (const std::vector< char > &bige) | |
bigint (const char *bige, uint32_t l) | |
bigint (uint64_t value) | |
bigint () | |
bigint (const bigint &c) | |
bigint (bigint &&c) | |
bigint (BIGNUM *n) | |
~bigint () | |
bigint & | operator= (const bigint &a) |
bigint & | operator= (bigint &&a) |
operator bool () const | |
bool | is_negative () const |
int64_t | to_int64 () const |
int64_t | log2 () const |
bigint | exp (const bigint &c) const |
bool | operator< (const bigint &c) const |
bool | operator> (const bigint &c) const |
bool | operator>= (const bigint &c) const |
bool | operator== (const bigint &c) const |
bool | operator!= (const bigint &c) const |
bigint | operator+ (const bigint &a) const |
bigint | operator* (const bigint &a) const |
bigint | operator/ (const bigint &a) const |
bigint | operator% (const bigint &a) const |
bigint | operator/= (const bigint &a) |
bigint | operator*= (const bigint &a) |
bigint & | operator+= (const bigint &a) |
bigint & | operator-= (const bigint &a) |
bigint & | operator<<= (uint32_t i) |
bigint & | operator>>= (uint32_t i) |
bigint | operator- (const bigint &a) const |
bigint | operator++ (int) |
bigint & | operator++ () |
bigint | operator-- (int) |
bigint & | operator-- () |
operator std::string () const | |
operator std::vector< char > () const | |
BIGNUM * | dup () const |
BIGNUM * | get () const |
Static Public Member Functions | |
static bigint | random (uint32_t bits, int t, int) |
Definition at line 10 of file bigint.hpp.
fc::bigint::bigint | ( | const std::vector< char > & | bige | ) |
Definition at line 15 of file bigint.cpp.
fc::bigint::bigint | ( | const char * | bige, |
uint32_t | l | ||
) |
Definition at line 11 of file bigint.cpp.
fc::bigint::bigint | ( | uint64_t | value | ) |
Definition at line 32 of file bigint.cpp.
fc::bigint::bigint | ( | ) |
Definition at line 23 of file bigint.cpp.
fc::bigint::bigint | ( | const bigint & | c | ) |
Definition at line 39 of file bigint.cpp.
fc::bigint::bigint | ( | bigint && | c | ) |
Definition at line 43 of file bigint.cpp.
|
explicit |
Definition at line 19 of file bigint.cpp.
fc::bigint::~bigint | ( | ) |
Definition at line 48 of file bigint.cpp.
BIGNUM * fc::bigint::dup | ( | ) | const |
Definition at line 27 of file bigint.cpp.
Definition at line 182 of file bigint.cpp.
|
inline |
Definition at line 65 of file bigint.hpp.
bool fc::bigint::is_negative | ( | ) | const |
Definition at line 52 of file bigint.cpp.
int64_t fc::bigint::log2 | ( | ) | const |
Definition at line 64 of file bigint.cpp.
|
explicit |
Definition at line 80 of file bigint.cpp.
fc::bigint::operator std::string | ( | ) | const |
Definition at line 204 of file bigint.cpp.
fc::bigint::operator std::vector< char > | ( | ) | const |
Definition at line 208 of file bigint.cpp.
bool fc::bigint::operator!= | ( | const bigint & | c | ) | const |
Definition at line 77 of file bigint.cpp.
Definition at line 138 of file bigint.cpp.
Definition at line 124 of file bigint.cpp.
Definition at line 154 of file bigint.cpp.
Definition at line 105 of file bigint.cpp.
bigint & fc::bigint::operator++ | ( | ) |
Definition at line 90 of file bigint.cpp.
bigint fc::bigint::operator++ | ( | int | ) |
Definition at line 84 of file bigint.cpp.
Definition at line 110 of file bigint.cpp.
Definition at line 177 of file bigint.cpp.
bigint & fc::bigint::operator-- | ( | ) |
Definition at line 100 of file bigint.cpp.
bigint fc::bigint::operator-- | ( | int | ) |
Definition at line 94 of file bigint.cpp.
Definition at line 116 of file bigint.cpp.
Definition at line 131 of file bigint.cpp.
Definition at line 146 of file bigint.cpp.
bool fc::bigint::operator< | ( | const bigint & | c | ) | const |
Definition at line 65 of file bigint.cpp.
bigint & fc::bigint::operator<<= | ( | uint32_t | i | ) |
Definition at line 167 of file bigint.cpp.
Definition at line 192 of file bigint.cpp.
Definition at line 198 of file bigint.cpp.
bool fc::bigint::operator== | ( | const bigint & | c | ) | const |
Definition at line 74 of file bigint.cpp.
bool fc::bigint::operator> | ( | const bigint & | c | ) | const |
Definition at line 68 of file bigint.cpp.
bool fc::bigint::operator>= | ( | const bigint & | c | ) | const |
Definition at line 71 of file bigint.cpp.
bigint & fc::bigint::operator>>= | ( | uint32_t | i | ) |
Definition at line 159 of file bigint.cpp.
|
static |
int64_t fc::bigint::to_int64 | ( | ) | const |
Definition at line 54 of file bigint.cpp.