Home
last modified time | relevance | path

Searched refs:lower_n_mask (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/minimal-lexical/src/
Drounding.rs6 use crate::mask::{lower_n_halfway, lower_n_mask};
91 let mask = lower_n_mask(shift as u64); in round_nearest_tie_even()
Dmask.rs16 pub fn lower_n_mask(n: u64) -> u64 { in lower_n_mask() function
Dbellerophon.rs21 use crate::mask::{lower_n_halfway, lower_n_mask};
255 let mask = lower_n_mask(maskbits); in error_is_accurate()
/third_party/rust/crates/minimal-lexical/tests/
Dmask_tests.rs5 assert_eq!(mask::lower_n_mask(2), 0b11); in lower_n_mask_test()