summary refs log tree commit diff
path: root/src/etc/test-float-parse/few-ones.rs
blob: 2d82918aabbdb02f19f4e08025bf4df06a008fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod _common;

use _common::validate;

fn main() {
    let mut pow = vec![];
    for i in 0..63 {
        pow.push(1u64 << i);
    }
    for a in &pow {
        for b in &pow {
            for c in &pow {
                validate(&(a | b | c).to_string());
            }
        }
    }
}