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

Go to the source code of this file.

Classes

class  uint160
 160-bit unsigned big integer. More...
 
class  uint256
 256-bit unsigned big integer. More...
 
class  uint512
 512-bit unsigned big integer. More...
 

Functions

uint256 uint256S (const char *str)
 
uint256 uint256S (const std::string &str)
 
uint512 uint512S (const std::string &str)
 
uint256 ArithToUint256 (const arith_uint256 &)
 
arith_uint256 UintToArith256 (const uint256 &)
 
uint512 ArithToUint512 (const arith_uint512 &)
 
arith_uint512 UintToArith512 (const uint512 &)
 

Variables

const uint256 UINT256_ZERO = uint256()
 constant uint256 instances More...
 
const uint256 UINT256_ONE = uint256("0000000000000000000000000000000000000000000000000000000000000001")
 

Function Documentation

◆ ArithToUint256()

uint256 ArithToUint256 ( const arith_uint256 )

Definition at line 119 of file uint256.cpp.

◆ ArithToUint512()

uint512 ArithToUint512 ( const arith_uint512 )

Definition at line 134 of file uint256.cpp.

◆ uint256S() [1/2]

uint256 uint256S ( const char *  str)
inline

Definition at line 99 of file uint256.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uint256S() [2/2]

uint256 uint256S ( const std::string &  str)
inline

Definition at line 109 of file uint256.h.

Here is the call graph for this function:

◆ uint512S()

uint512 uint512S ( const std::string &  str)
inline

Definition at line 116 of file uint256.h.

Here is the call graph for this function:

◆ UintToArith256()

arith_uint256 UintToArith256 ( const uint256 )

Definition at line 126 of file uint256.cpp.

◆ UintToArith512()

arith_uint512 UintToArith512 ( const uint512 )

Definition at line 142 of file uint256.cpp.

Variable Documentation

◆ UINT256_ONE

const uint256 UINT256_ONE = uint256("0000000000000000000000000000000000000000000000000000000000000001")

Definition at line 130 of file uint256.h.

◆ UINT256_ZERO

const uint256 UINT256_ZERO = uint256()

constant uint256 instances

Definition at line 129 of file uint256.h.