Function panda_sys::urshift[][src]

pub unsafe extern "C" fn urshift(
    plow: *mut u64,
    phigh: *mut u64,
    shift: i32
)
Expand description

urshift - 128-bit Unsigned Right Shift. @plow: in/out - lower 64-bit integer. @phigh: in/out - higher 64-bit integer. @shift: in - bytes to shift, between 0 and 127.

Result is zero-extended and stored in plow/phigh, which are input/output variables. Shift values outside the range will be mod to 128. In other words, the caller is responsible to verify/assert both the shift range and plow/phigh pointers.