ae.utils.math.longmul

Wrapper for long integer multiplication / division opcodes

Members

Aliases

Cent
alias Cent = LongInt!long
Undocumented in source.
LongInt
alias LongInt(T) = LongInt!(T.sizeof * 8, isSigned!T)
Undocumented in source.
UCent
alias UCent = LongInt!ulong
Undocumented in source.

Functions

longDiv
DivResult!T longDiv(L a, T b)

Calculate x86 long division of a and b.

longMul
LongInt!T longMul(T a, T b)

Calculate x86 long multiplication of a and b.

Structs

DivResult
struct DivResult(T)

Calculate x86 long division of a and b.

LongInt
struct LongInt(uint bits, bool signed)

"Long" integer, split into high and low halves.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>