ladybird/Userland/Libraries/LibM
sin-ack d8ee3839e4 LibM: Count fractions when exponent < -1 with mantissa == 0
Without this change, floor(-0.125) returned 0.
This is because the number has a fraction part even if mantissa is zero
while the unbiased exponent is negative.

The names of some variables were also made clearer.

Co-Authored-By: Daniel Bertalan <dani@danielbertalan.dev>
2022-01-02 12:44:31 +03:30
..
CMakeLists.txt LibM: Fix linking with LibM when compiling Userland without -O2 2021-05-23 20:17:00 +01:00
math.cpp LibM: Count fractions when exponent < -1 with mantissa == 0 2022-01-02 12:44:31 +03:30
math.h LibM: Add long double defines of Math Constants 2021-07-02 19:50:43 +02:00