AnotherTest
dbc5b05b7a
LibM: Use fptan/fpatan instead of approximating atan2/tan
...
The previous versions were very inaccurate, and sometimes wrong.
2021-04-15 17:50:16 +02:00
Mițca Dumitru
01a49dda85
LibM: Implement fmin/fmax
2021-03-15 22:02:38 +01:00
Mițca Dumitru
987cc904c2
LibM: Make the gamma family of functions more accurate and conformant
...
This patch makes tgamma use an approximation that is more accurate with
regards to floating point arithmetic, and fixes some issues when tgamma
was called with positive integer values.
It also makes lgamma set signgam to the correct value, and makes its
return value be more inline with what the C standard defines.
2021-03-15 22:02:38 +01:00
Mițca Dumitru
87b61b0eef
LibM: Add scalbn and associated functions
...
Also implement ldexp in terms of them, and add ldexpl
2021-03-09 07:28:06 +01:00
Ben Wiederhake
cf32f29af6
AK+LibM: Rename EXPECT_CLOSE to EXPECT_APPROXIMATE
2021-03-03 20:19:24 +01:00
Ben Wiederhake
5df014b8ff
AK+LibM: Make EXPECT_CLOSE more useful during debugging
2021-03-03 20:19:24 +01:00
Andreas Kling
0269578d3e
LibM: Implement nextafter() and nexttoward()
...
Patch from Anonymous.
2021-02-05 12:27:23 +01:00
Andreas Kling
9d471ea923
LibM: Build and install the LibM test
...
This test seems to be full of wrong, but at least now we build it and
place it in /usr/Tests/LibM/ so that we can fix it.
2021-02-05 09:50:08 +01:00