mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
UInt.opOpAssign
mir
bignum
fixed
UInt
bool overflow = a += b
and
bool overflow = a -= b
operations.
bool
opOpAssign
(UInt!size rhs, bool overflow)
struct
UInt
(size_t size)
@
safe
pure nothrow @
nogc
scope
bool
opOpAssign
(
string
op
)
(
UInt
!
size
rhs
,
bool
overflow
= false
)
if
(
op
== "+" ||
op
== "-"
)
if
(
size
%
(
size_t.sizeof
* 8
)
== 0 &&
size
>=
(
size_t.sizeof
* 8
)
)
bool
opOpAssign
(size_t rhs)
bool
opOpAssign
(ulong rhs)
bool
opOpAssign
(UInt!rsize rhs, bool overflow)
size_t
opOpAssign
(size_t rhs, size_t carry)
auto
opOpAssign
(ulong rhs)
void
opOpAssign
(UInt!rhsSize rhs)
uint
opOpAssign
(uint rhs, uint overflow)
UInt
!
size
opOpAssign
(UInt!size rhs)
UInt
!
size
opOpAssign
(size_t rhs)
ref
opOpAssign
(ulong rhs)
UInt
!
size
opOpAssign
(size_t shift)
Meta
Source
See Implementation
mir
bignum
fixed
UInt
constructors
this
functions
bt
ctlz
cttz
fromHexStringImpl
fromStringImpl
opAssign
opBinary
opCast
opCmp
opEquals
opOpAssign
rightExtend
signBit
smallLeftShift
smallRightShift
toSize
toString
view
static functions
fromHexString
templates
opBinaryRight
variables
data
max
min
bool overflow = a += b and bool overflow = a -= b operations.