Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
DWord Class Reference
Collaboration diagram for DWord:
[legend]

Classes

struct  half_words
 

Public Member Functions

 DWord ()
 
 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)
 

Private Attributes

union {
   dword   m_whole
 
   half_words   m_halfs
 
}; 
 

Detailed Description

Definition at line 206 of file integer.cpp.

Constructor & Destructor Documentation

DWord::DWord ( )
inline

Definition at line 210 of file integer.cpp.

Here is the caller graph for this function:

DWord::DWord ( word  low)
inlineexplicit

Definition at line 216 of file integer.cpp.

Here is the call graph for this function:

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

Definition at line 225 of file integer.cpp.

Here is the call graph for this function:

Member Function Documentation

word DWord::GetHighHalf ( ) const
inline

Definition at line 327 of file integer.cpp.

Here is the caller graph for this function:

word DWord::GetHighHalfAsBorrow ( ) const
inline

Definition at line 328 of file integer.cpp.

word DWord::GetLowHalf ( ) const
inline

Definition at line 326 of file integer.cpp.

Here is the caller graph for this function:

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

Definition at line 244 of file integer.cpp.

Here is the caller graph for this function:

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

Definition at line 257 of file integer.cpp.

Here is the call graph for this function:

bool DWord::operator! ( ) const
inline

Definition at line 315 of file integer.cpp.

word DWord::operator% ( word  a)
inline

Definition at line 490 of file integer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

DWord DWord::operator+ ( word  a)
inline

Definition at line 274 of file integer.cpp.

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

Definition at line 263 of file integer.cpp.

DWord DWord::operator- ( DWord  a)
inline

Definition at line 286 of file integer.cpp.

DWord DWord::operator- ( word  a)
inline

Definition at line 298 of file integer.cpp.

Here is the call graph for this function:

word DWord::operator/ ( word  divisor)
inline

Definition at line 480 of file integer.cpp.

Here is the caller graph for this function:

Member Data Documentation

union { ... }
half_words DWord::m_halfs

Definition at line 349 of file integer.cpp.

dword DWord::m_whole

Definition at line 347 of file integer.cpp.


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