Monero
Loading...
Searching...
No Matches
bigintegertest.cpp File Reference
Include dependency graph for bigintegertest.cpp:

Macros

#define BIGINTEGER_LITERAL(s)

Functions

static const BigInteger kZero (0)
static const BigInteger kOne (1)
 TEST (BigInteger, Constructor)
 TEST (BigInteger, AddUint64)
 TEST (BigInteger, MultiplyUint64)
 TEST (BigInteger, MultiplyUint32)
 TEST (BigInteger, LeftShift)
 TEST (BigInteger, Compare)

Variables

static const BigInteger kUint64Max = BIGINTEGER_LITERAL("18446744073709551615")
static const BigInteger kTwo64 = BIGINTEGER_LITERAL("18446744073709551616")

Macro Definition Documentation

◆ BIGINTEGER_LITERAL

#define BIGINTEGER_LITERAL ( s)
Value:
BigInteger(s, sizeof(s) - 1)
#define s(x, c)
Definition aesb.c:47

Function Documentation

◆ kOne()

const BigInteger kOne ( 1 )
static

◆ kZero()

const BigInteger kZero ( 0 )
static

◆ TEST() [1/6]

TEST ( BigInteger ,
AddUint64  )

◆ TEST() [2/6]

TEST ( BigInteger ,
Compare  )

◆ TEST() [3/6]

TEST ( BigInteger ,
Constructor  )

◆ TEST() [4/6]

TEST ( BigInteger ,
LeftShift  )

◆ TEST() [5/6]

TEST ( BigInteger ,
MultiplyUint32  )

◆ TEST() [6/6]

TEST ( BigInteger ,
MultiplyUint64  )

Variable Documentation

◆ kTwo64

const BigInteger kTwo64 = BIGINTEGER_LITERAL("18446744073709551616")
static

◆ kUint64Max

const BigInteger kUint64Max = BIGINTEGER_LITERAL("18446744073709551615")
static