Home
last modified time | relevance | path

Searched refs:is_fast_path (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/minimal-lexical/tests/
Dnumber_tests.rs10 assert_eq!(number.is_fast_path::<f32>(), true); in is_fast_path_test()
11 assert_eq!(number.is_fast_path::<f64>(), true); in is_fast_path_test()
14 assert_eq!(number.is_fast_path::<f32>(), false); in is_fast_path_test()
15 assert_eq!(number.is_fast_path::<f64>(), true); in is_fast_path_test()
18 assert_eq!(number.is_fast_path::<f32>(), false); in is_fast_path_test()
19 assert_eq!(number.is_fast_path::<f64>(), false); in is_fast_path_test()
22 assert_eq!(number.is_fast_path::<f32>(), false); in is_fast_path_test()
23 assert_eq!(number.is_fast_path::<f64>(), true); in is_fast_path_test()
26 assert_eq!(number.is_fast_path::<f32>(), false); in is_fast_path_test()
27 assert_eq!(number.is_fast_path::<f64>(), true); in is_fast_path_test()
[all …]
/third_party/rust/crates/minimal-lexical/src/
Dnumber.rs30 pub fn is_fast_path<F: Float>(&self) -> bool { in is_fast_path() method
55 if self.is_fast_path::<F>() { in try_fast_path()