ladybird/Userland/Tests
Marco Biscaro 7dc95721ee Tests: Fix test-math expected values
Some of the expected values in test-math were wrong, which caused some
tests to fail.

The updated values were generated by Python's math library, and rounded
to 6 decimals places:

>>> import math
>>> round(math.exp(20.99), 6)
1305693298.670892

Examples of failure outputs:

FAIL: ../Userland/Tests/LibM/test-math.cpp:98:
EXPECT_APPROXIMATE(exp(v.x), v.exp) failed with
lhs=1305693298.670892, rhs=1304956710.432034, (lhs-rhs)=736588.238857

FAIL: ../Userland/Tests/LibM/test-math.cpp:99:
EXPECT_APPROXIMATE(sinh(v.x), v.sinh) failed with
lhs=652846649.335446, rhs=652478355.216017, (lhs-rhs)=368294.119428

FAIL: ../Userland/Tests/LibM/test-math.cpp💯
EXPECT_APPROXIMATE(cosh(v.x), v.cosh) failed with
lhs=652846649.335446, rhs=652478355.216017, (lhs-rhs)=368294.119429
2021-04-18 21:41:17 +02:00
..
Kernel Kernel+LibC: Clean up how assertions work in the kernel and LibC 2021-04-18 11:11:15 +02:00
LibC LibC: Teach vsscanf() to consume the width specifier 2021-04-04 08:28:47 +02:00
LibGfx LibGfx: Add benchmarks for line drawing and rectangle filling 2021-04-04 17:33:35 +02:00
LibM Tests: Fix test-math expected values 2021-04-18 21:41:17 +02:00
UserspaceEmulator Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
CMakeLists.txt Tests: Merge duplicate TestFormat test into AK directory 2021-04-08 20:30:56 +02:00