mirror of
https://github.com/apple/swift-numerics
synced 2026-11-24 04:38:11 +00:00
Update Sources/ComplexModule/Complex+AlgebraicField.swift
Co-authored-by: Guillaume Lessard <glessard@tffenterprises.com>
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user