Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

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 usinga local clone.

dmd.common.int128

pure nothrow @nogc @safe booltst(Centc);
Test against 0
Parameters:
CentcCent to test
Returns:
true if != 0
pure nothrow @nogc @safe Centcom(Centc);
Complement
Parameters:
CentcCent to complement
Returns:
complemented value
pure nothrow @nogc @safe Centneg(Centc);
Negate
Parameters:
CentcCent to negate
Returns:
negated value
pure nothrow @nogc @safe Centinc(Centc);
Increment
Parameters:
CentcCent to increment
Returns:
incremented value
pure nothrow @nogc @safe Centdec(Centc);
Decrement
Parameters:
CentcCent to decrement
Returns:
incremented value
pure nothrow @nogc @safe Centshl1(Centc);
Shift left one bit
Parameters:
CentcCent to shift
Returns:
shifted value
pure nothrow @nogc @safe Centshr1(Centc);
Unsigned shift right one bit
Parameters:
CentcCent to shift
Returns:
shifted value
pure nothrow @nogc @safe Centsar1(Centc);
Arithmetic shift right one bit
Parameters:
CentcCent to shift
Returns:
shifted value
pure nothrow @nogc @safe Centshl(Centc, uintn);
Shift left n bits
Parameters:
CentcCent to shift
uintnnumber of bits to shift
Returns:
shifted value
pure nothrow @nogc @safe Centshr(Centc, uintn);
Unsigned shift right n bits
Parameters:
CentcCent to shift
uintnnumber of bits to shift
Returns:
shifted value
pure nothrow @nogc @safe Centsar(Centc, uintn);
Arithmetic shift right n bits
Parameters:
CentcCent to shift
uintnnumber of bits to shift
Returns:
shifted value
pure nothrow @nogc @safe Centrol1(Centc);
Rotate left one bit
Parameters:
CentcCent to rotate
Returns:
rotated value
pure nothrow @nogc @safe Centror1(Centc);
Rotate right one bit
Parameters:
CentcCent to rotate
Returns:
rotated value
pure nothrow @nogc @safe Centrol(Centc, uintn);
Rotate left n bits
Parameters:
CentcCent to rotate
uintnnumber of bits to rotate
Returns:
rotated value
pure nothrow @nogc @safe Centror(Centc, uintn);
Rotate right n bits
Parameters:
CentcCent to rotate
uintnnumber of bits to rotate
Returns:
rotated value
pure nothrow @nogc @safe Centand(Centc1, Centc2);
And c1 & c2.
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
c1 & c2
pure nothrow @nogc @safe Centor(Centc1, Centc2);
Or c1 | c2.
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
c1 | c2
pure nothrow @nogc @safe Centxor(Centc1, Centc2);
Xor c1 ^ c2.
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
c1 ^ c2
pure nothrow @nogc @safe Centadd(Centc1, Centc2);
Add c1 to c2.
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
c1 + c2
pure nothrow @nogc @safe Centsub(Centc1, Centc2);
Subtract c2 from c1.
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
c1 - c2
pure nothrow @nogc @safe Centmul(Centc1, Centc2);
Multiply c1 * c2.
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
c1 * c2
pure nothrow @nogc @safe Centudiv(Centc1, Centc2);
Unsigned divide c1 / c2.
Parameters:
Centc1dividend
Centc2divisor
Returns:
quotient c1 / c2
pure nothrow @nogc @safe Centudivmod(Centc1, Centc2, out Centmodulus);
Unsigned divide c1 / c2. The remainder after division is stored to modulus.
Parameters:
Centc1dividend
Centc2divisor
Centmodulusset to c1 % c2
Returns:
quotient c1 / c2
pure nothrow @nogc @safe Centdiv(Centc1, Centc2);
Signed divide c1 / c2.
Parameters:
Centc1dividend
Centc2divisor
Returns:
quotient c1 / c2
pure nothrow @nogc @safe Centdivmod(Centc1, Centc2, out Centmodulus);
Signed divide c1 / c2. The remainder after division is stored to modulus.
Parameters:
Centc1dividend
Centc2divisor
Centmodulusset to c1 % c2
Returns:
quotient c1 / c2
pure nothrow @nogc @safe boolugt(Centc1, Centc2);
If c1 > c2 unsigned
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
true if c1 > c2
pure nothrow @nogc @safe booluge(Centc1, Centc2);
If c1 >= c2 unsigned
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
true if c1 >= c2
pure nothrow @nogc @safe boolult(Centc1, Centc2);
If c1 < c2 unsigned
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
true if c1 < c2
pure nothrow @nogc @safe boolule(Centc1, Centc2);
If c1 <= c2 unsigned
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
true if c1 <= c2
pure nothrow @nogc @safe boolgt(Centc1, Centc2);
If c1 > c2 signed
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
true if c1 > c2
pure nothrow @nogc @safe boolge(Centc1, Centc2);
If c1 >= c2 signed
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
true if c1 >= c2
pure nothrow @nogc @safe boollt(Centc1, Centc2);
If c1 < c2 signed
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
true if c1 < c2
pure nothrow @nogc @safe boolle(Centc1, Centc2);
If c1 <= c2 signed
Parameters:
Centc1operand 1
Centc2operand 2
Returns:
true if c1 <= c2
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Fri Feb 20 00:51:04 2026

[8]ページ先頭

©2009-2026 Movatter.jp