mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
UInt.toSize
mir
bignum
fixed
UInt
struct
UInt
(size_t size)
const @
safe
pure @
nogc
nothrow
UInt
!
newSize
toSize
(
size_t
newSize
bool
lowerBits
= true
)
(
)
if
(
size
%
(
size_t.sizeof
* 8
)
== 0 &&
size
>=
(
size_t.sizeof
* 8
)
)
Return Value
Type:
UInt
!
newSize
the number with shrinked or extended size.
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