blob: ba68d31e4ed7e853979dd724ad9aa73f607226dd [file] [log] [blame]
mod _common;
use _common::validate;
use std::mem::transmute;
fn main() {
for bits in 0u32..(1 << 21) {
let single: f32 = unsafe { transmute(bits) };
validate(&format!("{:e}", single));
let double: f64 = unsafe { transmute(bits as u64) };
validate(&format!("{:e}", double));
}
}