PIVX Core  5.6.99
P2P Digital Currency
Classes | Functions | Variables
arith_uint256.h File Reference
#include <assert.h>
#include <cstring>
#include <stdexcept>
#include <stdint.h>
#include <string>
#include <vector>
Include dependency graph for arith_uint256.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uint_error
 
class  base_uint< BITS >
 Template base class for unsigned big integers. More...
 
class  arith_uint160
 160-bit unsigned big integer. More...
 
class  arith_uint256
 256-bit unsigned big integer. More...
 
class  arith_uint512
 512-bit unsigned big integer. More...
 

Functions

uint256 ArithToUint256 (const arith_uint256 &)
 
arith_uint256 UintToArith256 (const uint256 &)
 
uint512 ArithToUint512 (const arith_uint512 &)
 
arith_uint512 UintToArith512 (const uint512 &)
 

Variables

const arith_uint256 ARITH_UINT256_ZERO = arith_uint256()
 
const arith_uint256 ARITH_UINT256_ONE = arith_uint256(1)
 

Function Documentation

◆ ArithToUint256()

uint256 ArithToUint256 ( const arith_uint256 a)

Definition at line 361 of file arith_uint256.cpp.

Here is the caller graph for this function:

◆ ArithToUint512()

uint512 ArithToUint512 ( const arith_uint512 a)

Definition at line 376 of file arith_uint256.cpp.

◆ UintToArith256()

arith_uint256 UintToArith256 ( const uint256 a)

Definition at line 360 of file arith_uint256.cpp.

Here is the caller graph for this function:

◆ UintToArith512()

arith_uint512 UintToArith512 ( const uint512 a)

Definition at line 375 of file arith_uint256.cpp.

Variable Documentation

◆ ARITH_UINT256_ONE

const arith_uint256 ARITH_UINT256_ONE = arith_uint256(1)

Definition at line 386 of file arith_uint256.h.

◆ ARITH_UINT256_ZERO

const arith_uint256 ARITH_UINT256_ZERO = arith_uint256()

Definition at line 385 of file arith_uint256.h.