def dw_fin
import bendtorch@1.3.0.0/dtype.bend as Dtypeimport Base
526# hi + x: TwoSum's s and its exact error, plus the old lo and an extra error term c
527def dw_fin(+s: F32, +bb: F32, +a: F32, +x: F32, +lo: F32, +c: F32) -> DW:
528 +e = ((a - (s - bb : F32) : F32) + (x - bb : F32) : F32)
529 dw_norm(s, ((e + lo : F32) + c : F32))