Skip to content

Commit fbf3a8e

Browse files
Yan Huangadamant-pwn
Yan Huang
authored andcommitted
Update fft.md
Rewording to fix a logical typo.
1 parent c453722 commit fbf3a8e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/algebra/fft.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ Some researchers attribute the discovery of the FFT to Runge and König in 1924.
1515
But actually Gauss developed such a method already in 1805, but never published it.
1616

1717
Notice, that the FFT algorithm presented here runs in $O(n \log n)$ time, but it doesn't work for multiplying arbitrary big polynomials with arbitrary large coefficients or for multiplying arbitrary big integers.
18-
It can easily handle polynomials of size $10^5$ with small coefficients, or multiplying two numbers of size $10^6$, but at some point the range and the precision of the used floating point numbers will not no longer be enough to give accurate results.
19-
That is usually enough for solving competitive programming problems, but there are also more complex variations that can perform arbitrary large polynomial/integer multiplications.
18+
It can easily handle polynomials of size $10^5$ with small coefficients, or multiplying two numbers of size $10^6$, which is usually enough for solving competitive programming problems. Beyond the scale of multiplying numbers with $10^6$ bits, the range and precision of the floating point numbers used during the computation will not be enough to give accurate final results, though there are more complex variations that can perform arbitrary large polynomial/integer multiplications.
2019
E.g. in 1971 Schönhage and Strasser developed a variation for multiplying arbitrary large numbers that applies the FFT recursively in rings structures running in $O(n \log n \log \log n)$.
2120
And recently (in 2019) Harvey and van der Hoeven published an algorithm that runs in true $O(n \log n)$.
2221

0 commit comments

Comments
 (0)