dmd.common.int128
-
Declaration
pure nothrow @nogc @safe bool
tst
(Centc
);Test against 0
Parameters
Cent
c
Cent to test
Return Value
true
if != 0 -
Declaration
pure nothrow @nogc @safe Cent
com
(Centc
);Complement
Parameters
Cent
c
Cent to complement
Return Value
complemented value
-
Declaration
pure nothrow @nogc @safe Cent
neg
(Centc
);Negate
Parameters
Cent
c
Cent to negate
Return Value
negated value
-
Declaration
pure nothrow @nogc @safe Cent
inc
(Centc
);Increment
Parameters
Cent
c
Cent to increment
Return Value
incremented value
-
Declaration
pure nothrow @nogc @safe Cent
dec
(Centc
);Decrement
Parameters
Cent
c
Cent to decrement
Return Value
incremented value
-
Declaration
pure nothrow @nogc @safe Cent
shl1
(Centc
);Shift left one bit
Parameters
Cent
c
Cent to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Cent
shr1
(Centc
);Unsigned shift right one bit
Parameters
Cent
c
Cent to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Cent
sar1
(Centc
);Arithmetic shift right one bit
Parameters
Cent
c
Cent to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Cent
shl
(Centc
, uintn
);Shift left
n
bitsParameters
Cent
c
Cent to shift
uint
n
number of bits to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Cent
shr
(Centc
, uintn
);Unsigned shift right
n
bitsParameters
Cent
c
Cent to shift
uint
n
number of bits to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Cent
sar
(Centc
, uintn
);Arithmetic shift right
n
bitsParameters
Cent
c
Cent to shift
uint
n
number of bits to shift
Return Value
shifted value
-
Declaration
pure nothrow @nogc @safe Cent
rol1
(Centc
);Rotate left one bit
Parameters
Cent
c
Cent to rotate
Return Value
rotated value
-
Declaration
pure nothrow @nogc @safe Cent
ror1
(Centc
);Rotate right one bit
Parameters
Cent
c
Cent to rotate
Return Value
rotated value
-
Declaration
pure nothrow @nogc @safe Cent
rol
(Centc
, uintn
);Rotate left
n
bitsParameters
Cent
c
Cent to rotate
uint
n
number of bits to rotate
Return Value
rotated value
-
Declaration
pure nothrow @nogc @safe Cent
ror
(Centc
, uintn
);Rotate right
n
bitsParameters
Cent
c
Cent to rotate
uint
n
number of bits to rotate
Return Value
rotated value
-
Declaration
pure nothrow @nogc @safe Cent
and
(Centc1
, Centc2
);And
c1
&c2
.Parameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
c1
&c2
-
Declaration
pure nothrow @nogc @safe Cent
or
(Centc1
, Centc2
);Or
c1
|c2
.Parameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
c1
|c2
-
Declaration
pure nothrow @nogc @safe Cent
xor
(Centc1
, Centc2
);Xor
c1
^c2
.Parameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
c1
^c2
-
Declaration
pure nothrow @nogc @safe Cent
add
(Centc1
, Centc2
);Add
c1
toc2
.Parameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
c1
+c2
-
Declaration
pure nothrow @nogc @safe Cent
sub
(Centc1
, Centc2
);Subtract
c2
fromc1
.Parameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
c1
-c2
-
Declaration
pure nothrow @nogc @safe Cent
mul
(Centc1
, Centc2
);Multiply
c1
*c2
.Parameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
c1
*c2
-
Declaration
pure nothrow @nogc @safe Cent
udiv
(Centc1
, Centc2
);Unsigned divide
c1
/c2
.Parameters
Cent
c1
dividend
Cent
c2
divisor
Return Value
quotient
c1
/c2
-
Declaration
pure nothrow @nogc @safe Cent
udivmod
(Centc1
, Centc2
, out Centmodulus
);Unsigned divide
c1
/c2
. The remainder after division is stored tomodulus
.Parameters
Cent
c1
dividend
Cent
c2
divisor
Cent
modulus
set to
c1
%c2
Return Value
quotient
c1
/c2
-
Declaration
pure nothrow @nogc @safe Cent
div
(Centc1
, Centc2
);Signed divide
c1
/c2
.Parameters
Cent
c1
dividend
Cent
c2
divisor
Return Value
quotient
c1
/c2
-
Declaration
pure nothrow @nogc @safe Cent
divmod
(Centc1
, Centc2
, out Centmodulus
);Signed divide
c1
/c2
. The remainder after division is stored tomodulus
.Parameters
Cent
c1
dividend
Cent
c2
divisor
Cent
modulus
set to
c1
%c2
Return Value
quotient
c1
/c2
-
Declaration
pure nothrow @nogc @safe bool
ugt
(Centc1
, Centc2
);If
c1
>c2
unsignedParameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
true
ifc1
>c2
-
Declaration
pure nothrow @nogc @safe bool
uge
(Centc1
, Centc2
);If
c1
>=c2
unsignedParameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
true
ifc1
>=c2
-
Declaration
pure nothrow @nogc @safe bool
ult
(Centc1
, Centc2
);If
c1
<c2
unsignedParameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
true
ifc1
<c2
-
Declaration
pure nothrow @nogc @safe bool
ule
(Centc1
, Centc2
);If
c1
<=c2
unsignedParameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
true
ifc1
<=c2
-
Declaration
pure nothrow @nogc @safe bool
gt
(Centc1
, Centc2
);If
c1
>c2
signedParameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
true
ifc1
>c2
-
Declaration
pure nothrow @nogc @safe bool
ge
(Centc1
, Centc2
);If
c1
>=c2
signedParameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
true
ifc1
>=c2
-
Declaration
pure nothrow @nogc @safe bool
lt
(Centc1
, Centc2
);If
c1
<c2
signedParameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
true
ifc1
<c2
-
Declaration
pure nothrow @nogc @safe bool
le
(Centc1
, Centc2
);If
c1
<=c2
signedParameters
Cent
c1
operand 1
Cent
c2
operand 2
Return Value
true
ifc1
<=c2