Macro specialized_div_rem::impl_delegate [−][src]
macro_rules! impl_delegate {
($unsigned_name : ident, $signed_name : ident, $zero_div_fn : ident,
$half_normalization_shift : ident, $half_division : ident, $n_h : expr, $uH :
ident, $uX : ident, $uD : ident, $iD : ident, $($unsigned_attr : meta), * ;
$($signed_attr : meta), *) => { ... };
}
Expand description
Creates unsigned and signed division functions that use a combination of hardware division and
binary long division to divide integers larger than what hardware division by itself can do. This
function is intended for microarchitectures that have division hardware, but not fast enough
multiplication hardware for impl_trifecta
to be faster.