Searched refs:lower_n_mask (Results 1 – 4 of 4) sorted by relevance
6 use crate::mask::{lower_n_halfway, lower_n_mask};91 let mask = lower_n_mask(shift as u64); in round_nearest_tie_even()
16 pub fn lower_n_mask(n: u64) -> u64 { in lower_n_mask() function
21 use crate::mask::{lower_n_halfway, lower_n_mask};255 let mask = lower_n_mask(maskbits); in error_is_accurate()
5 assert_eq!(mask::lower_n_mask(2), 0b11); in lower_n_mask_test()