Crypto++ 8.2
Free C&
Classes | Public Member Functions | Static Public Member Functions | List of all members
DWord Class Reference

Public Member Functions

 DWord (word low)
 
 DWord (word low, word high)
 
DWordoperator+= (word a)
 
DWord operator+ (word a)
 
DWord operator- (DWord a)
 
DWord operator- (word a)
 
word operator/ (word divisor)
 
word operator% (word a)
 
bool operator! () const
 
word GetLowHalf () const
 
word GetHighHalf () const
 
word GetHighHalfAsBorrow () const
 

Static Public Member Functions

static DWord Multiply (word a, word b)
 
static DWord MultiplyAndAdd (word a, word b, word c)
 

Detailed Description

Definition at line 262 of file integer.cpp.

Constructor & Destructor Documentation

◆ DWord() [1/3]

DWord::DWord ( )
inline

Definition at line 266 of file integer.cpp.

◆ DWord() [2/3]

DWord::DWord ( word  low)
inlineexplicit

Definition at line 272 of file integer.cpp.

◆ DWord() [3/3]

DWord::DWord ( word  low,
word  high 
)
inline

Definition at line 282 of file integer.cpp.

Member Function Documentation

◆ Multiply()

static DWord DWord::Multiply ( word  a,
word  b 
)
inlinestatic

Definition at line 301 of file integer.cpp.

◆ MultiplyAndAdd()

static DWord DWord::MultiplyAndAdd ( word  a,
word  b,
word  c 
)
inlinestatic

Definition at line 314 of file integer.cpp.

◆ operator+=()

DWord & DWord::operator+= ( word  a)
inline

Definition at line 320 of file integer.cpp.

◆ operator+()

DWord DWord::operator+ ( word  a)
inline

Definition at line 331 of file integer.cpp.

◆ operator-() [1/2]

DWord DWord::operator- ( DWord  a)
inline

Definition at line 343 of file integer.cpp.

◆ operator-() [2/2]

DWord DWord::operator- ( word  a)
inline

Definition at line 355 of file integer.cpp.

◆ operator/()

word DWord::operator/ ( word  divisor)
inline

Definition at line 528 of file integer.cpp.

◆ operator%()

word DWord::operator% ( word  a)
inline

Definition at line 538 of file integer.cpp.

◆ operator!()

bool DWord::operator! ( ) const
inline

Definition at line 372 of file integer.cpp.

◆ GetLowHalf()

word DWord::GetLowHalf ( ) const
inline

Definition at line 383 of file integer.cpp.

◆ GetHighHalf()

word DWord::GetHighHalf ( ) const
inline

Definition at line 384 of file integer.cpp.

◆ GetHighHalfAsBorrow()

word DWord::GetHighHalfAsBorrow ( ) const
inline

Definition at line 385 of file integer.cpp.

Member Data Documentation

◆ m_whole

dword DWord::m_whole

Definition at line 404 of file integer.cpp.

◆ m_halfs

half_words DWord::m_halfs

Definition at line 406 of file integer.cpp.


The documentation for this class was generated from the following file: