decimal.integrals

Undocumented in source.

Members

Aliases

uint128
alias uint128 = unsigned!128

Undocumented in source.

uint256
alias uint256 = unsigned!256

Undocumented in source.

uint512
alias uint512 = unsigned!512

Undocumented in source.

Functions

cappedAdd
int cappedAdd(int target, int value)

Undocumented in source. Be warned that the author may not have intended to support it.

cappedSub
int cappedSub(int target, int value)

Undocumented in source. Be warned that the author may not have intended to support it.

cbrt
bool cbrt(U x)

Undocumented in source. Be warned that the author may not have intended to support it.

clz
auto clz(uint x)

Undocumented in source. Be warned that the author may not have intended to support it.

clz
auto clz(ulong x)

Undocumented in source. Be warned that the author may not have intended to support it.

clz
auto clz(T x)

Undocumented in source. Be warned that the author may not have intended to support it.

ctz
auto ctz(uint x)

Undocumented in source. Be warned that the author may not have intended to support it.

ctz
auto ctz(ulong x)

Undocumented in source. Be warned that the author may not have intended to support it.

ctz
auto ctz(T x)

Undocumented in source. Be warned that the author may not have intended to support it.

cvt
T cvt(U value)

Undocumented in source. Be warned that the author may not have intended to support it.

divrem
uint divrem(uint x, uint y)

Undocumented in source. Be warned that the author may not have intended to support it.

divrem
ulong divrem(ulong x, ulong y)

Undocumented in source. Be warned that the author may not have intended to support it.

divrem
ulong divrem(ulong x, uint y)

Undocumented in source. Be warned that the author may not have intended to support it.

divrem
T divrem(T x, T y)

Undocumented in source. Be warned that the author may not have intended to support it.

divrem
T divrem(T x, U y)

Undocumented in source. Be warned that the author may not have intended to support it.

fma
uint fma(uint x, uint y, uint z, bool overflow)

Undocumented in source. Be warned that the author may not have intended to support it.

fma
ulong fma(ulong x, ulong y, ulong z, bool overflow)

Undocumented in source. Be warned that the author may not have intended to support it.

fma
ulong fma(ulong x, uint y, uint z, bool overflow)

Undocumented in source. Be warned that the author may not have intended to support it.

fma
T fma(T x, T y, T z, bool overflow)

Undocumented in source. Be warned that the author may not have intended to support it.

fma
T fma(T x, U y, U z, bool overflow)

Undocumented in source. Be warned that the author may not have intended to support it.

getPow10
int getPow10(T x)

Undocumented in source. Be warned that the author may not have intended to support it.

ispow10
bool ispow10(T x)

Undocumented in source. Be warned that the author may not have intended to support it.

ispow2
bool ispow2(T x)

Undocumented in source. Be warned that the author may not have intended to support it.

mulu
T mulu(T x, T y, bool overflow)

Undocumented in source. Be warned that the author may not have intended to support it.

mulu
T mulu(T x, U y, bool overflow)

Undocumented in source. Be warned that the author may not have intended to support it.

prec
int prec(T x)

Undocumented in source. Be warned that the author may not have intended to support it.

sign
auto sign(U u, bool isNegative)

Undocumented in source. Be warned that the author may not have intended to support it.

sign
auto sign(U u, bool isNegative)

Undocumented in source. Be warned that the author may not have intended to support it.

sqrt
bool sqrt(U x)

Undocumented in source. Be warned that the author may not have intended to support it.

sqru
T sqru(T x, bool overflow)

Undocumented in source. Be warned that the author may not have intended to support it.

unsign
auto unsign(S s, bool isNegative)

Undocumented in source. Be warned that the author may not have intended to support it.

unsign
auto unsign(V v, bool isNegative)

Undocumented in source. Be warned that the author may not have intended to support it.

unsign
auto unsign(V v, bool isNegative)

Undocumented in source. Be warned that the author may not have intended to support it.

unsign
auto unsign(S s)

Undocumented in source. Be warned that the author may not have intended to support it.

unsign
auto unsign(S s, bool isNegative)

Undocumented in source. Be warned that the author may not have intended to support it.

unsign
auto unsign(S s)

Undocumented in source. Be warned that the author may not have intended to support it.

uparse
U uparse(string s)

Undocumented in source. Be warned that the author may not have intended to support it.

xadd
uint xadd(uint x, uint y)

Undocumented in source. Be warned that the author may not have intended to support it.

xadd
uint xadd(ulong x, ulong y)

Undocumented in source. Be warned that the author may not have intended to support it.

xadd
uint xadd(ulong x, uint y)

Undocumented in source. Be warned that the author may not have intended to support it.

xadd
uint xadd(T x, T y)

Undocumented in source. Be warned that the author may not have intended to support it.

xadd
uint xadd(T x, U y)

Undocumented in source. Be warned that the author may not have intended to support it.

xmul
ulong xmul(uint x, uint y)

Undocumented in source. Be warned that the author may not have intended to support it.

xmul
uint128 xmul(ulong x, ulong y)

Undocumented in source. Be warned that the author may not have intended to support it.

xmul
uint128 xmul(ulong x, uint y)

Undocumented in source. Be warned that the author may not have intended to support it.

xmul
auto xmul(T x, T y)

Undocumented in source. Be warned that the author may not have intended to support it.

xmul
auto xmul(T x, U y)

Undocumented in source. Be warned that the author may not have intended to support it.

xsqr
ulong xsqr(uint x)

Undocumented in source. Be warned that the author may not have intended to support it.

xsqr
uint128 xsqr(ulong x)

Undocumented in source. Be warned that the author may not have intended to support it.

xsqr
auto xsqr(T x)

Undocumented in source. Be warned that the author may not have intended to support it.

xsub
uint xsub(uint x, uint y)

Undocumented in source. Be warned that the author may not have intended to support it.

xsub
uint xsub(ulong x, ulong y)

Undocumented in source. Be warned that the author may not have intended to support it.

xsub
uint xsub(ulong x, uint y)

Undocumented in source. Be warned that the author may not have intended to support it.

xsub
uint xsub(T x, T y)

Undocumented in source. Be warned that the author may not have intended to support it.

xsub
uint xsub(T x, U y)

Undocumented in source. Be warned that the author may not have intended to support it.

Structs

unsigned
struct unsigned(int bits)

Undocumented in source.

Templates

MakeUnsigned
template MakeUnsigned(int bits)

Undocumented in source.

isAnyUnsigned
template isAnyUnsigned(T)

Undocumented in source.

isCustomUnsigned
template isCustomUnsigned(T)

Undocumented in source.

isUnsignedAssignable
template isUnsignedAssignable(T, U)

Undocumented in source.

maxmul10
template maxmul10(T)

Undocumented in source.

pow10
template pow10(T)

Undocumented in source.

Variables

maxmul10_128
uint128[39] maxmul10_128;

Undocumented in source.

maxmul10_16
ushort[5] maxmul10_16;

Undocumented in source.

maxmul10_256
uint256[78] maxmul10_256;

Undocumented in source.

maxmul10_32
uint[10] maxmul10_32;

Undocumented in source.

maxmul10_64
ulong[20] maxmul10_64;

Undocumented in source.

maxmul10_8
ubyte[3] maxmul10_8;

Undocumented in source.

pow10_128
uint128[39] pow10_128;

Undocumented in source.

pow10_16
ushort[5] pow10_16;

Undocumented in source.

pow10_256
uint256[78] pow10_256;

Undocumented in source.

pow10_32
uint[10] pow10_32;

Undocumented in source.

pow10_512
uint512[155] pow10_512;

Undocumented in source.

pow10_64
ulong[20] pow10_64;

Undocumented in source.

pow10_8
ubyte[3] pow10_8;

Undocumented in source.

Meta