Skip to main content

bitborrow

Macro bitborrow 

Source
macro_rules! bitborrow {
    ($x:expr, $y:expr, $result:expr, $bits:expr) => { ... };
}
Expand description

Outgoing borrow bit for a wrapping x - y - borrow_in result.

See “Hacker’s Delight”, 2nd edition, section 2-13 (Overflow detection)