Function rustduino::math::push_left[][src]

pub fn push_left(val: u8, change: u8) -> u8
Expand description

Push the required bit with left bias.

Arguments

  • val - a u8, the number to whom the bits are to be added.
  • change - a u8, the extent of rotation before XOR of the bits of val.

Returns

  • a u8 - The bit changed value of val.