BendtorchLoad.W64.add: def of bendtorch-load@1.3.0.0 Import: import bendtorch-load@1.3.0.0/main.bend as BendtorchLoad Lines 42-45 of bendtorch-load@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-load@1.3.0.0/main.bend&start_line=42&end_line=45 import Base # a + b, wrapping at 2^64: the low words' sum carries one when it wrapped (it is then below either term) def W64.add(a: W64, b: W64) -> W64: match a b: case W64{ah, +al} W64{bh, bl}: W64.add_go(ah, bh, (al + bl : U32), al) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=bendtorch-load@1.3.0.0/main.bend&name=W64 https://jend.leeeet.dev/definition.txt?path=bendtorch-load@1.3.0.0/main.bend&name=W64.add_go