Mițca Dumitru
b07310dc8b
LibM: Add nan{f, l}
2021-03-09 07:28:06 +01:00
Mițca Dumitru
efe4845c56
LibM: Implement more rounding functions
...
This patch implements the entire rint family, while taking into account
the current rounding mode, and implements ceil, round, trunc, and floor
for types which they weren't before.
2021-03-09 07:28:06 +01:00
Mițca Dumitru
b274120b3c
LibM: Implement copysign for float and long double
2021-03-09 07:28:06 +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
Mițca Dumitru
352b383280
LibM: Add ilogb and logb
2021-03-09 07:28:06 +01:00
Mițca Dumitru
42a8186728
LibM: Define floating point comparsion macros
2021-03-09 07:28:06 +01:00
Mițca Dumitru
70737b42b2
LibM: Define math_errhandling
and associated macros
2021-03-09 07:28:06 +01:00
Andreas Kling
9f8a9dba0b
LibM: Add naive implementation of copysign()
2021-03-05 20:46:25 +01:00
Andreas Kling
6622ad8895
LibM: Improve accuracy of rounding related functions
...
Patch from Anonymous.
2021-02-05 09:38:45 +01:00
Linus Groh
c46056122a
LibM: Add nextafter() and nexttoward() stubs
...
Only thing missing for Python to build the _math module! :^)
2021-01-18 22:28:56 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00