On 6.02.2025 15:09, LIU Hao wrote:
On the aspect of an optimizer, I agree that it makes sense to assume `sincos()` should not be slower than a combination of `sin()` and `cos()`. If it's not the case then it's our bug and should be fixed.


At the very least, the proposed implementation is slower. Calling sincos() adds function call overhead compared to directly calling sin() and cos() separately. The optimization is a net loss in its current form.


Jacek



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to