ae v0.0.3141 (2022-02-14T00:51:10Z)
Home
Dub
Repo
LongInt
ae
utils
math
longmul
"Long" integer, split into high and low halves.
struct
LongInt
(uint bits, bool signed)
struct
LongInt (
uint
bits
bool
signed
) {
TypeForBits
!
bits
low
;
static if
(
signed
)
Signed
!(
TypeForBits
!
bits
)
high
;
static if
(!(
signed
))
TypeForBits
!
bits
high
;
}
alias
LongInt
(
T
)
=
LongInt
!(
T
.
sizeof
*
8
,
isSigned
!
T
)
Members
Variables
high
TypeForBits
!
bits
high
;
Undocumented in source.
high
Signed
!(
TypeForBits
!
bits
)
high
;
low
TypeForBits
!
bits
low
;
Parameters
bits
Number of bits in one half.
Meta
Source
See Implementation
ae
utils
math
longmul
aliases
Cent
UCent
functions
longDiv
longMul
structs
DivResult
LongInt
"Long" integer, split into high and low halves.