dmd.common.int128
-
Declaration
pure nothrow @nogc @safe booltst(Centc);Test against 0
Parameters
CentcCent to test
Return Value
trueif != 0 -
Declaration
pure nothrow @nogc @safe Centcom(Centc);Complement
Parameters
CentcCent to complement
Return Value
complemented value
-
Declaration
pure nothrow @nogc @safe Centneg(Centc);Negate
Parameters
CentcCent to negate
Return Value
negated value
-
Declaration
pure nothrow @nogc @safe Centinc(Centc);Increment
Parameters
CentcCent to increment
Return Value
incremented value
-
Declaration
pure nothrow @nogc @safe Centdec(Centc);Decrement
Parameters
CentcCent to decrement
Return Value
incremented value
-
Declaration
pure nothrow @nogc @safe Centshl1(Centc);Shift left one bit
Parameters
CentcCent to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Centshr1(Centc);Unsigned shift right one bit
Parameters
CentcCent to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Centsar1(Centc);Arithmetic shift right one bit
Parameters
CentcCent to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Centshl(Centc, uintn);Shift left
nbitsParameters
CentcCent to shift
uintnnumber of bits to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Centshr(Centc, uintn);Unsigned shift right
nbitsParameters
CentcCent to shift
uintnnumber of bits to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Centsar(Centc, uintn);Arithmetic shift right
nbitsParameters
CentcCent to shift
uintnnumber of bits to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Centrol1(Centc);Rotate left one bit
Parameters
CentcCent to rotate
Return Value
rotated value
-
Declaration
pure nothrow @nogc @safe Centror1(Centc);Rotate right one bit
Parameters
CentcCent to rotate
Return Value
rotated value
-
Declaration
pure nothrow @nogc @safe Centrol(Centc, uintn);Rotate left
nbitsParameters
CentcCent to rotate
uintnnumber of bits to rotate
Return Value
rotated value
-
Declaration
pure nothrow @nogc @safe Centror(Centc, uintn);Rotate right
nbitsParameters
CentcCent to rotate
uintnnumber of bits to rotate
Return Value
rotated value
-
Declaration
pure nothrow @nogc @safe Centand(Centc1, Centc2);And
c1&c2.Parameters
Centc1operand 1
Centc2operand 2
Return Value
c1&c2 -
Declaration
pure nothrow @nogc @safe Centor(Centc1, Centc2);Or
c1|c2.Parameters
Centc1operand 1
Centc2operand 2
Return Value
c1|c2 -
Declaration
pure nothrow @nogc @safe Centxor(Centc1, Centc2);Xor
c1^c2.Parameters
Centc1operand 1
Centc2operand 2
Return Value
c1^c2 -
Declaration
pure nothrow @nogc @safe Centadd(Centc1, Centc2);Add
c1toc2.Parameters
Centc1operand 1
Centc2operand 2
Return Value
c1+c2 -
Declaration
pure nothrow @nogc @safe Centsub(Centc1, Centc2);Subtract
c2fromc1.Parameters
Centc1operand 1
Centc2operand 2
Return Value
c1-c2 -
Declaration
pure nothrow @nogc @safe Centmul(Centc1, Centc2);Multiply
c1*c2.Parameters
Centc1operand 1
Centc2operand 2
Return Value
c1*c2 -
Declaration
pure nothrow @nogc @safe Centudiv(Centc1, Centc2);Unsigned divide
c1/c2.Parameters
Centc1dividend
Centc2divisor
Return Value
quotient
c1/c2 -
Declaration
pure nothrow @nogc @safe Centudivmod(Centc1, Centc2, out Centmodulus);Unsigned divide
c1/c2. The remainder after division is stored tomodulus.Parameters
Centc1dividend
Centc2divisor
Centmodulusset to
c1%c2Return Value
quotient
c1/c2 -
Declaration
pure nothrow @nogc @safe Centdiv(Centc1, Centc2);Signed divide
c1/c2.Parameters
Centc1dividend
Centc2divisor
Return Value
quotient
c1/c2 -
Declaration
pure nothrow @nogc @safe Centdivmod(Centc1, Centc2, out Centmodulus);Signed divide
c1/c2. The remainder after division is stored tomodulus.Parameters
Centc1dividend
Centc2divisor
Centmodulusset to
c1%c2Return Value
quotient
c1/c2 -
Declaration
pure nothrow @nogc @safe boolugt(Centc1, Centc2);If
c1>c2unsignedParameters
Centc1operand 1
Centc2operand 2
Return Value
trueifc1>c2 -
Declaration
pure nothrow @nogc @safe booluge(Centc1, Centc2);If
c1>=c2unsignedParameters
Centc1operand 1
Centc2operand 2
Return Value
trueifc1>=c2 -
Declaration
pure nothrow @nogc @safe boolult(Centc1, Centc2);If
c1<c2unsignedParameters
Centc1operand 1
Centc2operand 2
Return Value
trueifc1<c2 -
Declaration
pure nothrow @nogc @safe boolule(Centc1, Centc2);If
c1<=c2unsignedParameters
Centc1operand 1
Centc2operand 2
Return Value
trueifc1<=c2 -
Declaration
pure nothrow @nogc @safe boolgt(Centc1, Centc2);If
c1>c2signedParameters
Centc1operand 1
Centc2operand 2
Return Value
trueifc1>c2 -
Declaration
pure nothrow @nogc @safe boolge(Centc1, Centc2);If
c1>=c2signedParameters
Centc1operand 1
Centc2operand 2
Return Value
trueifc1>=c2 -
Declaration
pure nothrow @nogc @safe boollt(Centc1, Centc2);If
c1<c2signedParameters
Centc1operand 1
Centc2operand 2
Return Value
trueifc1<c2 -
Declaration
pure nothrow @nogc @safe boolle(Centc1, Centc2);If
c1<=c2signedParameters
Centc1operand 1
Centc2operand 2
Return Value
trueifc1<=c2