UInteger< N > Class Template Reference Math Library

#include <integer.h>

Public Types

using  Half = UInteger < N/2 >

公共成员函数

  UInteger ()
  UInteger ( Half low)
  UInteger ( Half high, Half low)
UInteger < N *2 >  operator* (const UInteger &other) const
Bool   operator< (const UInteger &other) const
Bool   operator== (const UInteger &other) const
  MAXON_OPERATOR_COMPARISON ( UInteger )
void  AddMixed (const Half &half)
Bool   AddLowToHigh (const UInteger &value)
void  AddHigh (const UInteger &value)
Bool   添加 (const UInteger &value)
Bool   Inc ()
UInteger operator++ ()
UInteger operator++ (int)

Private Attributes

Half   _low
Half   _high

Member Typedef Documentation

◆  Half

using Half = UInteger <N / 2>

构造函数 & 析构函数文档编制

◆  UInteger() [1/3]

UInteger ( )

◆  UInteger() [2/3]

UInteger ( Half   low )
explicit

◆  UInteger() [3/3]

UInteger ( Half   high ,
Half   low  
)

成员函数文档编制

◆  operator*()

UInteger <N * 2> operator* ( const UInteger < N > &  other ) const

◆  operator<()

Bool operator< ( const UInteger < N > &  other ) const

◆  operator==()

Bool operator== ( const UInteger < N > &  other ) const

◆  MAXON_OPERATOR_COMPARISON()

MAXON_OPERATOR_COMPARISON ( UInteger < N >  )

◆  AddMixed()

void AddMixed ( const Half half )

◆  AddLowToHigh()

Bool AddLowToHigh ( const UInteger < N > &  value )

◆  AddHigh()

void AddHigh ( const UInteger < N > &  value )

◆  Add()

Bool 添加 ( const UInteger < N > &  value )

◆  Inc()

Bool Inc ( )

◆  operator++() [1/2]

UInteger & operator++ ( )

◆  operator++() [2/2]

UInteger & operator++ ( int  )

Member Data Documentation

◆  _low

Half _low
private

◆  _high

Half _high
private