def mag.same

bend-kit-f64@0.1.0.0 · f64.bend:648

import bend-kit-f64@0.1.0.0/f64.bend as F64
import Base

648def mag.same(eq: Bool, ma: W2, mb: W2) -> Bool:
649  match eq ma mb:
650    case False{} W2{ah, al} W2{bh, bl}:
651      False{}
652    case True{} W2{+ah, al} W2{+bh, bl}:
653      mag.hi(U32.is_lt(ah, bh), U32.is_eq(ah, bh), al, bl)

Uses (5)

Used by (1)