FastTrigo
FastTrigo copied to clipboard
Fast yet accurate trigonometric functions
Before this change, `FT::atan2(0.3, -0.05)` would return 80.4648, while `std::atan2(0.3, -0.05)` returns ~99.4623, the correct result; `FTA::atan2` behaved the same way. In order to test the accuracy of these function,...
Would love to use this on ARM/M1 Mac
Could you please tell me the source of fta:atan? In which paper or blob, the atan is calculated in this way?
The method of casting to int32 and back to float32 to perform a round-to-nearest even floor, is invalid if the number is greater than or equal to +2^31 or strictly...