Skip to main content

with_int_pair

Macro with_int_pair 

Source
macro_rules! with_int_pair {
    ($a:expr, $b:expr, |$x:ident, $y:ident| $body:expr) => { ... };
}
Expand description

Runs $body with $x and $y bound to the integers of $a and $b at one width: their own when they share it, and otherwise both widened to 64 bits.