[3.11] gh-102837: more tests for the math module (GH-111930)(GH-102523) (GH-112030)#112041
Merged
encukou merged 1 commit intopython:3.11from Nov 16, 2023
Merged
[3.11] gh-102837: more tests for the math module (GH-111930)(GH-102523) (GH-112030)#112041encukou merged 1 commit intopython:3.11from
encukou merged 1 commit intopython:3.11from
Conversation
…)(pythonGH-102523) (pythonGH-112030) * pythongh-102837: improve test coverage for math module (pythonGH-102523) (Only the test changes from pythonGH-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 5e6661b) * pythongh-102837: more tests for the math module (pythonGH-111930) Add tests to improve coverage: * fsum: L1369, L1379, L1383, L1412 * trunc: L2081 * log: L2267 * dist: L2577, L2579 * hypot: L2632 * (not cherry-picked for 3.11: sumprod) * pow: L2982 * prod: L3294, L3308, L3318-3330 // line numbers wrt to 9dc4fb8 (cherry picked from commit c61de45) --------- Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> (cherry picked from commit c6aea46)
This was referenced Nov 13, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(Only the test changes from GH-102523 are cherry-picked)
(all line numbers are wrt the main branch at 5e6661b)
Add tests to improve coverage:
// line numbers wrt to 9dc4fb8
(cherry picked from commit c61de45)
Co-authored-by: Sergey B Kirpichev skirpichev@gmail.com
(cherry picked from commit c6aea46)