Searched refs:check_concise_float (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/serde_json-1.0.115/tests/lexical/ |
H A D | parse.rs | 8 fn check_concise_float<F>(mantissa: u64, exponent: i32, expected: F) in check_concise_float() function 29 check_concise_float(0, 0, 0.0_f32); in parse_f32_test() 30 check_concise_float(12345, -4, 1.2345_f32); in parse_f32_test() 31 check_concise_float(12345, -3, 12.345_f32); in parse_f32_test() 32 check_concise_float(123456789, -4, 12345.6789_f32); in parse_f32_test() 33 check_concise_float(12345, 6, 1.2345e10_f32); in parse_f32_test() 34 check_concise_float(12345, -42, 1.2345e-38_f32); in parse_f32_test() 38 check_concise_float(16777216, 0, 16777216.0_f32); in parse_f32_test() 39 check_concise_float(16777217, 0, 16777216.0_f32); in parse_f32_test() 40 check_concise_float(16777218, 0, 16777218.0_f32); in parse_f32_test() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/serde_json/tests/lexical/ |
D | parse.rs | 8 fn check_concise_float<F>(mantissa: u64, exponent: i32, expected: F) in check_concise_float() function 29 check_concise_float(0, 0, 0.0_f32); in parse_f32_test() 30 check_concise_float(12345, -4, 1.2345_f32); in parse_f32_test() 31 check_concise_float(12345, -3, 12.345_f32); in parse_f32_test() 32 check_concise_float(123456789, -4, 12345.6789_f32); in parse_f32_test() 33 check_concise_float(12345, 6, 1.2345e10_f32); in parse_f32_test() 34 check_concise_float(12345, -42, 1.2345e-38_f32); in parse_f32_test() 38 check_concise_float(16777216, 0, 16777216.0_f32); in parse_f32_test() 39 check_concise_float(16777217, 0, 16777216.0_f32); in parse_f32_test() 40 check_concise_float(16777218, 0, 16777218.0_f32); in parse_f32_test() [all …]
|