ClipperLib::Int128 Class Reference

Public Member Functions

 Int128 (const long64 &_hi, const ulong64 &_lo)
 
 Int128 (long64 _lo=0)
 
 operator double () const
 
bool operator!= (const Int128 &val) const
 
Int128 operator+ (const Int128 &rhs) const
 
Int128operator+= (const Int128 &rhs)
 
Int128 operator- () const
 
Int128 operator- (const Int128 &rhs) const
 
Int128operator-= (const Int128 &rhs)
 
bool operator< (const Int128 &val) const
 
bool operator<= (const Int128 &val) const
 
Int128operator= (const long64 &val)
 
bool operator== (const Int128 &val) const
 
bool operator> (const Int128 &val) const
 
bool operator>= (const Int128 &val) const
 

Public Attributes

long64 hi
 
ulong64 lo
 

Constructor & Destructor Documentation

◆ Int128() [1/2]

ClipperLib::Int128::Int128 ( long64  _lo = 0)

References hi, and lo.

Referenced by operator-().

◆ Int128() [2/2]

ClipperLib::Int128::Int128 ( const long64 _hi,
const ulong64 _lo 
)

Member Function Documentation

◆ operator double()

ClipperLib::Int128::operator double ( ) const

References hi, and lo.

◆ operator!=()

bool ClipperLib::Int128::operator!= ( const Int128 val) const

◆ operator+()

Int128 ClipperLib::Int128::operator+ ( const Int128 rhs) const

◆ operator+=()

Int128 & ClipperLib::Int128::operator+= ( const Int128 rhs)

References hi, and lo.

◆ operator-() [1/2]

Int128 ClipperLib::Int128::operator- ( void  ) const

References hi, Int128(), and lo.

◆ operator-() [2/2]

Int128 ClipperLib::Int128::operator- ( const Int128 rhs) const

◆ operator-=()

Int128 & ClipperLib::Int128::operator-= ( const Int128 rhs)

◆ operator<()

bool ClipperLib::Int128::operator< ( const Int128 val) const

References hi, and lo.

◆ operator<=()

bool ClipperLib::Int128::operator<= ( const Int128 val) const

◆ operator=()

Int128 & ClipperLib::Int128::operator= ( const long64 val)

References hi, and lo.

◆ operator==()

bool ClipperLib::Int128::operator== ( const Int128 val) const

References hi, and lo.

◆ operator>()

bool ClipperLib::Int128::operator> ( const Int128 val) const

References hi, and lo.

◆ operator>=()

bool ClipperLib::Int128::operator>= ( const Int128 val) const

Member Data Documentation

◆ hi

◆ lo


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