mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 00:00:41 +02:00
This is solving a different problem than what #4411 is specifically trying to solve. For our transcendental operations, we can't currently guarantee that these functions will actually operate at the 128-bit softfloat precision. While this is true with glibc, this is /not/ true for musl and likely more libraries. Instead of relying on our libc implementation to implement these, instead include the cephes math library directly which is what most people use for this. Including musl even, but not for all operations. With this we are no longer beholden to the standard libraries for providing a correct implementation.