Debian Codegraph @

tests/test_exhaustive.rs

raw symbols SCIP
1 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
2 #[ignore]
3 fn test_f32_exhaustive_ryurust-analyzer cargo fast-float2 0.2.3 test_f32_exhaustive_ryu().() {
4 let mut buf = ryurust-analyzer cargo ryu 1.0.23 crate/::Bufferrust-analyzer cargo ryu 1.0.23 buffer/Buffer#::newrust-analyzer cargo ryu 1.0.23 buffer/impl#[Buffer]new().();
5 for i in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#0xFFFF_FFFF_u32 {
6 let a: f32 = unsafe { corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::transmuterust-analyzer cargo core https://github.com/rust-lang/rust/library/core intrinsics/transmute().(i) };
7 let s = buf.formatrust-analyzer cargo ryu 1.0.23 buffer/impl#[Buffer]format().(a);
8 let b: f32 = fast_float2rust-analyzer cargo fast-float2 0.2.3 crate/::parserust-analyzer cargo fast-float2 0.2.3 parse().(s).unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().();
9 assertrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/assert!!(a == b || (a.is_nanrust-analyzer cargo core https://github.com/rust-lang/rust/library/core f32/impl#[f32]is_nan().() && b.is_nanrust-analyzer cargo core https://github.com/rust-lang/rust/library/core f32/impl#[f32]is_nan().()));
10 }
11 }