|
1 | 1 | /*################################################################################ |
2 | 2 | ## |
3 | | - ## Copyright (C) 2016-2024 Keith O'Hara |
| 3 | + ## Copyright (C) 2016-2026 Keith O'Hara |
4 | 4 | ## |
5 | 5 | ## This file is part of the GCE-Math C++ library. |
6 | 6 | ## |
@@ -31,23 +31,25 @@ int main() |
31 | 31 |
|
32 | 32 | // |
33 | 33 |
|
34 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 0.5L); |
35 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 0.00199900000000000208L); |
36 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 1.0L); |
37 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 1.5L); |
38 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 41.5L); |
39 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 123456789.5L); |
40 | | - |
41 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 0.0L); |
42 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, -1.0L); |
43 | | - |
44 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, 1e-500L); |
45 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, std::numeric_limits<long double>::min()); |
46 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, std::numeric_limits<double>::max()); |
| 34 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 0.001L); |
| 35 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 0.1L); |
| 36 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 0.5L); |
| 37 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 0.00199900000000000208L); |
| 38 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 1.0L); |
| 39 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 1.5L); |
| 40 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 41.5L); |
| 41 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 123456789.5L); |
| 42 | + |
| 43 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 0.0L); |
| 44 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, -1.0L); |
| 45 | + |
| 46 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, 1e-500L); |
| 47 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, std::numeric_limits<long double>::min()); |
| 48 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, std::numeric_limits<double>::max()); |
47 | 49 |
|
48 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, -std::numeric_limits<long double>::infinity()); |
49 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, std::numeric_limits<long double>::infinity()); |
50 | | - GCEM_TEST_COMPARE_VALS(gcem::log,std::log, std::numeric_limits<long double>::quiet_NaN()); |
| 50 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, -std::numeric_limits<long double>::infinity()); |
| 51 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, std::numeric_limits<long double>::infinity()); |
| 52 | + GCEM_TEST_COMPARE_VALS(gcem::log, std::log, std::numeric_limits<long double>::quiet_NaN()); |
51 | 53 |
|
52 | 54 | // |
53 | 55 |
|
|
0 commit comments