Dual-Select FMA Butterfly for FFT: Eliminating Twiddle Factor Singularities with Bounded Precomputed Ratios
Mohamed Amine Bergach

TL;DR
This paper introduces a dual-select strategy for FFT butterfly computation that eliminates twiddle factor singularities, improves numerical stability, and requires no additional computation overhead.
Contribution
It proposes a novel dual-select method that chooses between two factorizations to bound precomputed ratios, removing singularities in FFT calculations.
Findings
Eliminates all twiddle factor singularities in FFT butterfly computation.
Reduces the worst-case ratio from 163 to 1.0 for N=1024.
Achieves a 235× tighter error bound in FP16 arithmetic over 10 FFT passes.
Abstract
The fused multiply-add (FMA) instruction enables the radix-2 FFT butterfly to be computed in 6~FMA operations -- the proven minimum. The classical factorization by Linzer and Feig~\cite{linzer1993} precomputes the ratio , which is singular when the twiddle factor is (i.e., ). Standard practice clamps to a small epsilon, degrading numerical precision. We observe that an alternative factorization using as the outer multiplier (precomputing ) avoids this particular singularity but introduces a new one at . We then propose a \emph{dual-select} strategy that chooses, per twiddle factor, whichever factorization yields . This eliminates all singularities, requires no epsilon clamping, and bounds the precomputed ratio to unity for all twiddle factors. For $N =…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
