ae ~master (2024-01-05T13:09:51Z)
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.