Update Sources/ComplexModule/Complex+AlgebraicField.swift

Co-authored-by: Guillaume Lessard <glessard@tffenterprises.com>
This commit is contained in:
Stephen CanonandGuillaume Lessard authored and GitHub committed 2024-05-16 19:46:17 -04:00
1 parent a883d95a4d
commit 84c41a0bef
1 file changed
+1 -1
@@ -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,