Accurate Complex Multiplication in Floating-Point Arithmetic
Vincent Lefèvre Jean-Michel Muller.
Université de Lyon, CNRS, Inria, France.
Arith26,
Kyoto, June 2019 1
Accurate Complex Multiplication in Floating-Point Arithmetic - - PowerPoint PPT Presentation
Accurate Complex Multiplication in Floating-Point Arithmetic Vincent Lefvre Jean-Michel Muller. Universit de Lyon, CNRS, Inria, France. Arith26, Kyoto, June 2019 1 Accurate complex multiplication in FP arithmetic x , emphasis
Université de Lyon, CNRS, Inria, France.
Kyoto, June 2019 1
2
2ulp(v) u · |v|.
3
4
5
6
7
h + ωR ℓ ) + i · (ωI h + ωI ℓ),
h , ωR ℓ , ωI h, and ωI ℓ are FP numbers that satisfy:
ℓ | 1 2ulp(ωR) u · |ωR|;
ℓ| 1 2ulp(ωI) u · |ωI|.
h of the high-order parts of ωR h xR and ωI hxI,
ℓ of all the error terms that may have
8
ℓ
ℓ
h
h
ℓ
h
ℓ
h
ℓ
h
ℓ
ℓ
ℓ
ℓ
9
h + ωR ℓ ) + i · (ωI h + ωI ℓ) are DW, and the real & im. parts of x are FP.
ℓxI)
ℓ ← RN(ωR ℓ xR − tR)
h , PR ℓ ) ← Fast2Mult(ωI h, xI)
ℓ ← RN(πR ℓ − PR ℓ )
h , QR ℓ ) ← Fast2Mult(ωR h , xR)
ℓ ← RN(QR ℓ + r R ℓ )
h , v R ℓ ) ← 2Sum(QR h , −PR h )
ℓ ← RN(v R ℓ + sR ℓ )
h + γR ℓ ) (real part)
ℓxR)
ℓ ← RN(ωR ℓ xI + tI)
h, PI ℓ) ← Fast2Mult(ωI h, xR)
ℓ ← RN(πI ℓ + PI ℓ)
h, QI ℓ) ← Fast2Mult(ωR h , xI)
ℓ ← RN(QI ℓ + r I ℓ)
h, v I ℓ) ← 2Sum(QI h, PI h)
ℓ ← RN(v I ℓ + sI ℓ)
h + γI ℓ) (imaginary part) 10
11
12
h + γR ℓ ) of line 9 of Algorithm 3
h , γR ℓ ),
h + γI ℓ) of line 18 by a call to
h, γI ℓ).
13
ℓ = ωR ℓ = 0 ⇒ Algorithm 3 becomes simpler:
h , PR ℓ ) ← Fast2Mult(ωI, xI)
h , QR ℓ ) ← Fast2Mult(ωR, xR)
ℓ ← RN(QR ℓ − PR ℓ )
h , v R ℓ ) ← 2Sum(QR h , −PR h )
ℓ ← RN(v R ℓ + sR ℓ )
h + γR ℓ ) (real part)
h, PI ℓ) ← Fast2Mult(ωI, xR)
h, QI ℓ) ← Fast2Mult(ωR, xI)
ℓ ← RN(QI ℓ + PI ℓ)
h, v I ℓ) ← 2Sum(QI h, PI h)
ℓ ← RN(v I ℓ + sI ℓ)
h + γI ℓ) (imaginary part) 14
ℓ
ℓ
h
h
ℓ
ℓ
h
ℓ
h
ℓ
h
ℓ
ℓ
ℓ
ℓ
15
ℓ
ℓ
h
h
ℓ
ℓ
h
ℓ
h
ℓ
h
ℓ
ℓ
ℓ
ℓ
16
ℓ
ℓ
h
h
ℓ
ℓ
h
ℓ
h
ℓ
h
ℓ
ℓ
ℓ
ℓ
17
ℓ , QR ℓ & v R ℓ ).
18
19
20
21
22
23
24
25
25