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.
core.int128
- struct
Cent
; - 128 bit integer type.See Also:
- pure nothrow @nogc @safe bool
tst
(Centc
); - Test against 0Parameters:
Cent c
Cent to test Returns:true if != 0 - pure nothrow @nogc @safe Cent
com
(Centc
); - ComplementParameters:
Cent c
Cent to complement Returns:complemented value - pure nothrow @nogc @safe Cent
neg
(Centc
); - NegateParameters:
Cent c
Cent to negate Returns:negated value - pure nothrow @nogc @safe Cent
inc
(Centc
); - IncrementParameters:
Cent c
Cent to increment Returns:incremented value - pure nothrow @nogc @safe Cent
dec
(Centc
); - DecrementParameters:
Cent c
Cent to decrement Returns:incremented value - pure nothrow @nogc @safe Cent
shl1
(Centc
); - Shift left one bitParameters:
Cent c
Cent to shift Returns:shifted value - pure nothrow @nogc @safe Cent
shr1
(Centc
); - Unsigned shift right one bitParameters:
Cent c
Cent to shift Returns:shifted value - pure nothrow @nogc @safe Cent
sar1
(Centc
); - Arithmetic shift right one bitParameters:
Cent c
Cent to shift Returns:shifted value - pure nothrow @nogc @safe Cent
shl
(Centc
, uintn
); - Shift left n bitsParameters:
Cent c
Cent to shift uint n
number of bits to shift Returns:shifted value - 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 Returns:shifted value - 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 Returns:shifted value - pure nothrow @nogc @safe Cent
rol1
(Centc
); - Rotate left one bitParameters:
Cent c
Cent to rotate Returns:rotated value - pure nothrow @nogc @safe Cent
ror1
(Centc
); - Rotate right one bitParameters:
Cent c
Cent to rotate Returns:rotated value - pure nothrow @nogc @safe Cent
rol
(Centc
, uintn
); - Rotate left n bitsParameters:
Cent c
Cent to rotate uint n
number of bits to rotate Returns:rotated value - pure nothrow @nogc @safe Cent
ror
(Centc
, uintn
); - Rotate right n bitsParameters:
Cent c
Cent to rotate uint n
number of bits to rotate Returns:rotated value - pure nothrow @nogc @safe Cent
and
(Centc1
, Centc2
); - And c1 & c2.Parameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:c1 & c2 - pure nothrow @nogc @safe Cent
or
(Centc1
, Centc2
); - Or c1 | c2.Parameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:c1 | c2 - pure nothrow @nogc @safe Cent
xor
(Centc1
, Centc2
); - Xor c1 ^ c2.Parameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:c1 ^ c2 - pure nothrow @nogc @safe Cent
add
(Centc1
, Centc2
); - Add c1 to c2.Parameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:c1 + c2 - pure nothrow @nogc @safe Cent
sub
(Centc1
, Centc2
); - Subtract c2 from c1.Parameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:c1 - c2 - pure nothrow @nogc @safe Cent
mul
(Centc1
, Centc2
); - Multiply c1 * c2.Parameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:c1 * c2 - pure nothrow @nogc @safe Cent
udiv
(Centc1
, Centc2
); - Unsigned divide c1 / c2.Parameters:
Cent c1
dividend Cent c2
divisor 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 c1
dividend Cent c2
divisor Cent modulus
set to c1 % c2 Returns:quotient c1 / c2 - pure nothrow @nogc @safe Cent
div
(Centc1
, Centc2
); - Signed divide c1 / c2.Parameters:
Cent c1
dividend Cent c2
divisor 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 c1
dividend Cent c2
divisor Cent modulus
set to c1 % c2 Returns:quotient c1 / c2 - pure nothrow @nogc @safe bool
ugt
(Centc1
, Centc2
); - If c1 > c2 unsignedParameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:true if c1 > c2 - pure nothrow @nogc @safe bool
uge
(Centc1
, Centc2
); - If c1 >= c2 unsignedParameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:true if c1 >= c2 - pure nothrow @nogc @safe bool
ult
(Centc1
, Centc2
); - If c1 < c2 unsignedParameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:true if c1 < c2 - pure nothrow @nogc @safe bool
ule
(Centc1
, Centc2
); - If c1 <= c2 unsignedParameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:true if c1 <= c2 - pure nothrow @nogc @safe bool
gt
(Centc1
, Centc2
); - If c1 > c2 signedParameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:true if c1 > c2 - pure nothrow @nogc @safe bool
ge
(Centc1
, Centc2
); - If c1 >= c2 signedParameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:true if c1 >= c2 - pure nothrow @nogc @safe bool
lt
(Centc1
, Centc2
); - If c1 < c2 signedParameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:true if c1 < c2 - pure nothrow @nogc @safe bool
le
(Centc1
, Centc2
); - If c1 <= c2 signedParameters:
Cent c1
operand 1 Cent c2
operand 2 Returns:true if c1 <= c2
Copyright © 1999-2024 by the D Language Foundation | Page generated by
Ddoc on Sun Nov 17 01:06:52 2024