Skip to main content

bit_lsb

Function bit_lsb 

Source
pub fn bit_lsb(b: &CircuitBuilder, x: Wire, i: u32) -> Wire
Expand description

Extracts bit i from x as a 0/1 value.

Returns (x >> i) & 1.