diff --git a/Sources/RealModule/AugmentedArithmetic.swift b/Sources/RealModule/AugmentedArithmetic.swift index 88627af..1e67b78 100644 --- a/Sources/RealModule/AugmentedArithmetic.swift +++ b/Sources/RealModule/AugmentedArithmetic.swift @@ -93,4 +93,14 @@ extension Augmented { let tail = a - head + b return (head, tail) } + + @available(*, deprecated, renamed: "product") + public static func twoProdFMA(_ a: T, _ b: T) -> (head: T, tail: T) { + product(a, b) + } + + @available(*, deprecated, renamed: "sum(large:small:)") + public static func fastTwoSum(_ a: T, _ b: T) -> (head: T, tail: T) { + sum(large: a, small: b) + } }