|
|
|
|
|
by james_a_craig
422 days ago
|
|
For some reason the value of Pi given in the C++ code is wrong! It's given in the source as 3.14159274101257324219
when the right value to the same number of digits is
3.14159265358979323846. Very weird. I noticed when I went to look at the C++ to see how this algorithm was actually implemented. https://github.com/alexandrefrancois/noFFT/blob/main/src/Res... line 31. |
|
though I agree that it is odd to see, and not sure I see a reason why they wouldn't use 3.14159265358979323846