Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Get The Binary Ones And Zeros That Make Up An Integer In Rust

rust
fn main() {
    let x = 5000;
    (0..32).for_each(|n| println!("{}", (x >> n) & 1));
}

Footnotes And References