]> git.lizzy.rs Git - rust.git/blob - src/etc/test-float-parse/few-ones.rs
Auto merge of #85481 - lcnr:const-equate, r=matthewjasper
[rust.git] / src / etc / test-float-parse / few-ones.rs
1 mod _common;
2
3 use _common::validate;
4
5 fn main() {
6     let mut pow = vec![];
7     for i in 0..63 {
8         pow.push(1u64 << i);
9     }
10     for a in &pow {
11         for b in &pow {
12             for c in &pow {
13                 validate(&(a | b | c).to_string());
14             }
15         }
16     }
17 }