botan ~master (2020-08-19T17:56:38Z)
Dub
Repo
BigInt.maskBits
botan
math
bigint
bigint
BigInt
Clear all but the lowest n bits
struct
BigInt
void
maskBits
(
size_t
n
)
Parameters
n
size_t
amount of bits to keep
Meta
Source
See Implementation
botan
math
bigint
bigint
BigInt
aliases
Base
Sign
classes
DivideByZero
constructors
this
enums
Decimal
Negative
functions
abs
binaryDecode
binaryEncode
bits
byteAt
bytes
clear
clearBit
cmp
encodedSize
flipSign
getBit
getSubstring
growTo
isEven
isNegative
isNonzero
isOdd
isPositive
isZero
length
load
maskBits
mutablePtr
opAssign
opBinary
opCast
opCmp
opEquals
opOpAssign
opUnary
randomize
reserve
reverseSign
setBit
setSign
sigWords
sign
size
swap
swapReg
toString
toUint
toVector
wordAt
properties
dup
move
ptr
static functions
decode
encode
encode1363
encodeLocked
powerOf2
randomInteger
Clear all but the lowest n bits