diff options
author | Petr Viktorin <encukou@gmail.com> | 2023-11-13 14:54:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 14:54:40 (GMT) |
commit | c6aea46a71d158f993cc723c14b4bf7982b73a2a (patch) | |
tree | 69ed75fb83c49d938e5fbc9b706b1e847353d0f9 /Python | |
parent | 9aa5ff82d43435293acf0337fd069dce783176fc (diff) | |
download | cpython-c6aea46a71d158f993cc723c14b4bf7982b73a2a.zip cpython-c6aea46a71d158f993cc723c14b4bf7982b73a2a.tar.gz cpython-c6aea46a71d158f993cc723c14b4bf7982b73a2a.tar.bz2 |
[3.12] gh-102837: more tests for the math module (GH-111930)(GH-102523) (GH-112030)
* gh-102837: improve test coverage for math module (GH-102523)
(Only the test changes from GH-102523 are cherry-picked)
- input checks for math_1(L989), math_1a(L1023), math_2(L1064,L1071), hypot(L2682), log(L2307), ldexp(L2168), ceil(L1165), floor(L1236,L1239) and dist(L2587,L2588,L2628).
- improve fsum coverage for exceptional cases (L1433,L1438,L1451,L1497), ditto fmod(L2378)
(all line numbers are wrt the main branch at 5e6661bce9)
* gh-102837: more tests for the math module (GH-111930)
Add tests to improve coverage:
* fsum: L1369, L1379, L1383, L1412
* trunc: L2081
* log: L2267
* dist: L2577, L2579
* hypot: L2632
* sumprod: L2744, L2754, L2774, L2778, L2781, L2785, L2831, L2835, L2838
* pow: L2982
* prod: L3294, L3308, L3318-3330
// line numbers wrt to 9dc4fb8204
(cherry picked from commit c61de456db0186b65d479d41e84127832205d30d)
---------
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions