From 84c41a0befd6d45016fc9ce174e75bd987fab4bc Mon Sep 17 00:00:00 2001 From: Stephen Canon Date: Thu, 16 May 2024 19:46:17 -0400 Subject: [PATCH] Update Sources/ComplexModule/Complex+AlgebraicField.swift Co-authored-by: Guillaume Lessard --- Sources/ComplexModule/Complex+AlgebraicField.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ComplexModule/Complex+AlgebraicField.swift b/Sources/ComplexModule/Complex+AlgebraicField.swift index e359a5e..c3f775b 100644 --- a/Sources/ComplexModule/Complex+AlgebraicField.swift +++ b/Sources/ComplexModule/Complex+AlgebraicField.swift @@ -105,7 +105,7 @@ extension Complex: AlgebraicField { // when tz and tw are computed exactly. // 3. it unlocks a future optimization where we hoist s and // (w̅ʹ/|wʹ|²) and make divisions all fast-path without perturbing - // rouding. + // rounding. let s = RealType( sign: .plus, exponent: -3*w.magnitude.exponent/4,