The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
sar
core
int128
Arithmetic shift right n bits
nothrow @
safe
@
nogc
pure
Cent
sar
(
Cent
c
,
uint
n
)
Parameters
c
Cent
Cent to shift
n
uint
number of bits to shift
Return Value
Type:
Cent
shifted value
Meta
Source
See Implementation
core
int128
functions
add
and
com
dec
div
divmod
ge
gt
inc
le
lt
mul
neg
or
rol
rol1
ror
ror1
sar
sar1
shl
shl1
shr
shr1
sub
tst
udiv
udivmod
uge
ugt
ule
ult
xor
variables
lo
Arithmetic shift right n bits