1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 20:05:06 +00:00
serenity/Userland/Libraries/LibM
Peter Bindels 660a8982e7 LibM: Turn off builtins, fix tests & implementation
While trying to port to Clang we found that the functions as
implemented didn't actually work, and replacing them with a blatantly
broken function also did not break the tests on the GCC build. It
turns out we've been testing GCC's builtins by many tests. This
removes the use of builtins for LibM's tests (so we test the whole
function). It turns off the denormal test for scalbn (which was not
implemented) and comments out the tgamma(0.5) test which is too
inaccurate to be usable (and too complicated for me to fix). The gamma
function was made accurate for all other test cases, and asin received
two more layers of Taylor expansion to bring it within error margin
for the tests.
2021-07-17 17:37:20 +02:00
..
CMakeLists.txt LibM: Fix linking with LibM when compiling Userland without -O2 2021-05-23 20:17:00 +01:00
math.cpp LibM: Turn off builtins, fix tests & implementation 2021-07-17 17:37:20 +02:00
math.h LibM: Add long double defines of Math Constants 2021-07-02 19:50:43 +02:00