Versions in this module Expand all Collapse all v0 v0.7.2 Aug 18, 2023 v0.7.1 Aug 9, 2021 Changes in this version type Uint128 + func Add128(x, y, carry Uint128) (sum, carryOut Uint128) + func (x Uint128) Add128(y, carry Uint128) (sum, carryOut Uint128) v0.7.0 Aug 9, 2021 v0.6.0 Nov 15, 2019 Changes in this version + func Cmp(x, y Uint128) int + func IsZero(x Uint128) bool + func LeadingZeros(x Uint128) int + func Len(x Uint128) int + func OnesCount(x Uint128) int + func TrailingZeros(x Uint128) int + type Uint128 struct + H uint64 + L uint64 + func Add(x, y Uint128) Uint128 + func And(x, y Uint128) Uint128 + func AndNot(x, y Uint128) Uint128 + func Decr(x Uint128) Uint128 + func Incr(x Uint128) Uint128 + func MaxUint128() Uint128 + func NewFromString(s string) (x Uint128, err error) + func Not(x Uint128) Uint128 + func Or(x, y Uint128) Uint128 + func Reverse(x Uint128) (y Uint128) + func ReverseBytes(x Uint128) (y Uint128) + func ShiftLeft(x Uint128, b uint) Uint128 + func ShiftRight(x Uint128, b uint) Uint128 + func Sub(x, y Uint128) Uint128 + func Xor(x, y Uint128) Uint128 + func Zero() Uint128 + func (x Uint128) Add(y Uint128) Uint128 + func (x Uint128) And(y Uint128) Uint128 + func (x Uint128) AndNot(y Uint128) Uint128 + func (x Uint128) Cmp(y Uint128) int + func (x Uint128) Decr() Uint128 + func (x Uint128) Format(f fmt.State, c rune) + func (x Uint128) HexString() string + func (x Uint128) Incr() Uint128 + func (x Uint128) IsZero() bool + func (x Uint128) Not() Uint128 + func (x Uint128) Or(y Uint128) Uint128 + func (x Uint128) ShiftLeft(bits uint) Uint128 + func (x Uint128) ShiftRight(bits uint) Uint128 + func (x Uint128) String() string + func (x Uint128) Sub(y Uint128) Uint128 + func (x Uint128) Xor(y Uint128) Uint128