def add.sub.lost
import bend-kit-f64@0.1.0.0/f64.bend as F64import Base
675def add.sub.lost(lost: Bool, sign: U32, exp: U32, +total: W4) -> F64:
676 match lost:
677 case False{}:
678 add.cancel(W4.nz(total), sign, exp, total, False{})
679 case True{}:
680 add.borrow(sign, exp, W4.sub(total, W4.one()))