[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
64-bit Shift Arithmetic Right
Source position: systemh.inc line 1051
function SarInt64( |
const AValue: Int64 |
):Int64; |
const AValue: Int64; |
Shift: Byte |
):Int64; |
SarInt64 performs an arithmetic right shift for Shift positions on a 64-bit integer AValue and returns the result. Shift is optional, and is 1 by default. The difference with the regular Shr shift operation is that the leftmost bit is preserved during the shift operation.
|
8-bit Shift Arithmetic Right |
|
|
16-bit Shift Arithmetic Right |
|
|
32-bit Shift Arithmetic Right |