Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
dmd.common.int128
- pure nothrow @nogc @safe bool
tst(Centc); - Test against 0Parameters:
Cent cCent to test Returns:true if != 0 - pure nothrow @nogc @safe Cent
com(Centc); - ComplementParameters:
Cent cCent to complement Returns:complemented value - pure nothrow @nogc @safe Cent
neg(Centc); - NegateParameters:
Cent cCent to negate Returns:negated value - pure nothrow @nogc @safe Cent
inc(Centc); - IncrementParameters:
Cent cCent to increment Returns:incremented value - pure nothrow @nogc @safe Cent
dec(Centc); - DecrementParameters:
Cent cCent to decrement Returns:incremented value - pure nothrow @nogc @safe Cent
shl1(Centc); - Shift left one bitParameters:
Cent cCent to shift Returns:shifted value - pure nothrow @nogc @safe Cent
shr1(Centc); - Unsigned shift right one bitParameters:
Cent cCent to shift Returns:shifted value - pure nothrow @nogc @safe Cent
sar1(Centc); - Arithmetic shift right one bitParameters:
Cent cCent to shift Returns:shifted value - pure nothrow @nogc @safe Cent
shl(Centc, uintn); - Shift left n bitsParameters:
Cent cCent to shift uint nnumber of bits to shift Returns:shifted value - pure nothrow @nogc @safe Cent
shr(Centc, uintn); - Unsigned shift right n bitsParameters:
Cent cCent to shift uint nnumber of bits to shift Returns:shifted value - pure nothrow @nogc @safe Cent
sar(Centc, uintn); - Arithmetic shift right n bitsParameters:
Cent cCent to shift uint nnumber of bits to shift Returns:shifted value - pure nothrow @nogc @safe Cent
rol1(Centc); - Rotate left one bitParameters:
Cent cCent to rotate Returns:rotated value - pure nothrow @nogc @safe Cent
ror1(Centc); - Rotate right one bitParameters:
Cent cCent to rotate Returns:rotated value - pure nothrow @nogc @safe Cent
rol(Centc, uintn); - Rotate left n bitsParameters:
Cent cCent to rotate uint nnumber of bits to rotate Returns:rotated value - pure nothrow @nogc @safe Cent
ror(Centc, uintn); - Rotate right n bitsParameters:
Cent cCent to rotate uint nnumber of bits to rotate Returns:rotated value - pure nothrow @nogc @safe Cent
and(Centc1, Centc2); - And c1 & c2.Parameters:
Cent c1operand 1 Cent c2operand 2 Returns:c1 & c2 - pure nothrow @nogc @safe Cent
or(Centc1, Centc2); - Or c1 | c2.Parameters:
Cent c1operand 1 Cent c2operand 2 Returns:c1 | c2 - pure nothrow @nogc @safe Cent
xor(Centc1, Centc2); - Xor c1 ^ c2.Parameters:
Cent c1operand 1 Cent c2operand 2 Returns:c1 ^ c2 - pure nothrow @nogc @safe Cent
add(Centc1, Centc2); - Add c1 to c2.Parameters:
Cent c1operand 1 Cent c2operand 2 Returns:c1 + c2 - pure nothrow @nogc @safe Cent
sub(Centc1, Centc2); - Subtract c2 from c1.Parameters:
Cent c1operand 1 Cent c2operand 2 Returns:c1 - c2 - pure nothrow @nogc @safe Cent
mul(Centc1, Centc2); - Multiply c1 * c2.Parameters:
Cent c1operand 1 Cent c2operand 2 Returns:c1 * c2 - pure nothrow @nogc @safe Cent
udiv(Centc1, Centc2); - Unsigned divide c1 / c2.Parameters:
Cent c1dividend Cent c2divisor Returns:quotient c1 / c2 - pure nothrow @nogc @safe Cent
udivmod(Centc1, Centc2, out Centmodulus); - Unsigned divide c1 / c2. The remainder after division is stored to modulus.Parameters:
Cent c1dividend Cent c2divisor Cent modulusset to c1 % c2 Returns:quotient c1 / c2 - pure nothrow @nogc @safe Cent
div(Centc1, Centc2); - Signed divide c1 / c2.Parameters:
Cent c1dividend Cent c2divisor Returns:quotient c1 / c2 - pure nothrow @nogc @safe Cent
divmod(Centc1, Centc2, out Centmodulus); - Signed divide c1 / c2. The remainder after division is stored to modulus.Parameters:
Cent c1dividend Cent c2divisor Cent modulusset to c1 % c2 Returns:quotient c1 / c2 - pure nothrow @nogc @safe bool
ugt(Centc1, Centc2); - If c1 > c2 unsignedParameters:
Cent c1operand 1 Cent c2operand 2 Returns:true if c1 > c2 - pure nothrow @nogc @safe bool
uge(Centc1, Centc2); - If c1 >= c2 unsignedParameters:
Cent c1operand 1 Cent c2operand 2 Returns:true if c1 >= c2 - pure nothrow @nogc @safe bool
ult(Centc1, Centc2); - If c1 < c2 unsignedParameters:
Cent c1operand 1 Cent c2operand 2 Returns:true if c1 < c2 - pure nothrow @nogc @safe bool
ule(Centc1, Centc2); - If c1 <= c2 unsignedParameters:
Cent c1operand 1 Cent c2operand 2 Returns:true if c1 <= c2 - pure nothrow @nogc @safe bool
gt(Centc1, Centc2); - If c1 > c2 signedParameters:
Cent c1operand 1 Cent c2operand 2 Returns:true if c1 > c2 - pure nothrow @nogc @safe bool
ge(Centc1, Centc2); - If c1 >= c2 signedParameters:
Cent c1operand 1 Cent c2operand 2 Returns:true if c1 >= c2 - pure nothrow @nogc @safe bool
lt(Centc1, Centc2); - If c1 < c2 signedParameters:
Cent c1operand 1 Cent c2operand 2 Returns:true if c1 < c2 - pure nothrow @nogc @safe bool
le(Centc1, Centc2); - If c1 <= c2 signedParameters:
Cent c1operand 1 Cent c2operand 2 Returns:true if c1 <= c2
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:27:38 2025