Skip to content

bitwise_for_parity_check

Source Code

What it does

Checks for x & 1 which is unoptimized in cairo and could be replaced by x % 1.

Example

cairo
fn main() {
    let _a = 200_u32 & 1;
}