This value‐semantic type represents a 128‐bit integer, with host machine byte order.

Synopsis

Declared in <bdldfp_uint128.h>

class Uint128;

Member Functions

Name

Description

Uint128 [constructor]

Constructors

high

Return the high order bits of this integer.

low

Return the low order bits of this integer.

operator&=

Bitwise AND‐assign this object with the specified rhs.

operator<<=

Bitwise left‐shift‐assign this object by the specified rhs.

operator>>=

Bitwise right‐shift‐assign this object by the specified rhs.

operatorˆ=

Bitwise XOR‐assign this object with the specified rhs.

operator|=

Bitwise OR‐assign this object with the specified rhs.

setHigh

Set the high order bits of this integer to the specified value.

setLow

Set the low order bits of this integer to the specified value.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs do not have the same value, and false otherwise.

operator&

Return an Uint128 object having the value of a the bitwise and between the specified lhs and the specified rhs value.

operator<<

Return the bitwise left shift of the specified lhs by rhs bits.

operator==

Return true if the specified lhs and rhs have the same value, and false otherwise.

operator>>

Return the bitwise right shift of the specified lhs by rhs bits.

operatorˆ

Return an Uint128 object having the value of a the bitwise xor between the specified lhs and the specified rhs value.

operator|

Return an Uint128 object having the value of a the bitwise or between the specified lhs and the specified rhs value.

operator~

Return an Uint128 value equal to the bitwise ones compliment of the specified value.

Created with MrDocs