![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
512-bit unsigned big integer. More...
#include <arith_uint256.h>
Public Member Functions | |
| arith_uint512 () | |
| arith_uint512 (const base_uint< 512 > &b) | |
| arith_uint512 (uint64_t b) | |
| arith_uint512 (const std::string &str) | |
| arith_uint512 (const std::vector< unsigned char > &vch) | |
| uint256 | trim256 () const |
Public Member Functions inherited from base_uint< 512 > | |
| base_uint () | |
| base_uint (const base_uint &b) | |
| base_uint (uint64_t b) | |
| base_uint (const std::string &str) | |
| base_uint (const std::vector< unsigned char > &vch) | |
| base_uint & | operator= (const base_uint &b) |
| base_uint & | operator= (uint64_t b) |
| bool | operator! () const |
| const base_uint | operator~ () const |
| const base_uint | operator- () const |
| double | getdouble () const |
| base_uint & | operator^= (const base_uint &b) |
| base_uint & | operator^= (uint64_t b) |
| base_uint & | operator&= (const base_uint &b) |
| base_uint & | operator|= (const base_uint &b) |
| base_uint & | operator|= (uint64_t b) |
| base_uint & | operator<<= (unsigned int shift) |
| base_uint & | operator>>= (unsigned int shift) |
| base_uint & | operator+= (const base_uint &b) |
| base_uint & | operator+= (uint64_t b64) |
| base_uint & | operator-= (const base_uint &b) |
| base_uint & | operator-= (uint64_t b64) |
| base_uint & | operator*= (uint32_t b32) |
| base_uint & | operator*= (const base_uint &b) |
| base_uint & | operator/= (const base_uint &b) |
| base_uint & | operator++ () |
| const base_uint | operator++ (int) |
| base_uint & | operator-- () |
| const base_uint | operator-- (int) |
| int | CompareTo (const base_uint &b) const |
| bool | EqualTo (uint64_t b) const |
| std::string | GetHex () const |
| void | SetHex (const char *psz) |
| void | SetHex (const std::string &str) |
| std::string | ToString () const |
| std::string | ToStringReverseEndian () const |
| unsigned char * | begin () |
| const unsigned char * | begin () const |
| unsigned char * | end () |
| const unsigned char * | end () const |
| unsigned int | size () const |
| uint64_t | Get64 (int n=0) const |
| uint32_t | Get32 (int n=0) const |
| unsigned int | bits () const |
| Returns the position of the highest bit set plus one, or zero if the value is zero. More... | |
| uint64_t | GetLow64 () const |
| void | Serialize (Stream &s) const |
| void | Unserialize (Stream &s) |
| void | SetNull () |
| bool | IsNull () const |
Friends | |
| arith_uint512 | UintToArith512 (const uint512 &a) |
| uint512 | ArithToUint512 (const arith_uint512 &a) |
Additional Inherited Members | |
Protected Attributes inherited from base_uint< 512 > | |
| uint32_t | pn [WIDTH] |
Static Protected Attributes inherited from base_uint< 512 > | |
| static constexpr int | WIDTH |
512-bit unsigned big integer.
Definition at line 365 of file arith_uint256.h.
|
inline |
Definition at line 367 of file arith_uint256.h.
|
inline |
Definition at line 368 of file arith_uint256.h.
|
inline |
Definition at line 369 of file arith_uint256.h.
|
inlineexplicit |
Definition at line 370 of file arith_uint256.h.
|
inlineexplicit |
Definition at line 371 of file arith_uint256.h.
| uint256 arith_uint512::trim256 | ( | ) | const |
|
friend |
Definition at line 342 of file arith_uint256.cpp.
|
friend |
Definition at line 349 of file arith_uint256.cpp.