Remove _mulAdd in favor of Relaxed.multiplyAdd.

This commit is contained in:
Stephen Canon committed 2023-04-26 08:56:43 -04:00
1 parent 313ab7266a
commit f6b0aeb607
7 files changed
+5 -43

No files matched your search

@@ -124,12 +124,12 @@ extension Complex: AlgebraicField {
return nil
}
@inlinable
@_transparent
public static func _relaxedAdd(_ a: Self, _ b: Self) -> Self {
Complex(Relaxed.sum(a.x, b.x), Relaxed.sum(a.y, b.y))
}
@inlinable
@_transparent
public static func _relaxedMul(_ a: Self, _ b: Self) -> Self {
Complex(
Relaxed.sum(Relaxed.product(a.x, b.x), -Relaxed.product(a.y, b.y)),