@aras you're not even safe in an STL-free codebase because C++20 blows up C math.h too. that said it's not much work to write your own header with pi and 20 lines of `extern "C" float sinf(float);` etc, and we saw enough of a speedup from it to be totally worth. it's also nice that you can do `void sinf(double) = delete;` to catch accidental doubles
Mike
@mikejsavage@mastodon.gamedev.place