-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-102837: Increase test coverage for the math module #110000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a1d2c1a
gh-102837: Increase test coverage for the math module
skirpichev 03e8ead
Improve math_2() comment (mention real use-cases for math_2)
skirpichev 26489bb
* trunc: drop _PyType_IsReady() check (L2071) like floor/ceil, L2079
skirpichev 128c81d
* log: L2265
skirpichev ead9eee
* loghelper: drop inaccessible cases L2234, L2235, L2241. Here arg i…
skirpichev 3a80c78
* dist: L2575, L2577
skirpichev 8b3bb52
* hypot: L2630
skirpichev 4e25c35
* sumprod: L2742, L2752, L2772, L2775, L2779, L2783
skirpichev 7956447
Fix typo in sumprod()
skirpichev 052d7de
* sumprod: L2829, L2833, L2836
skirpichev b431805
* pow: L2979, L2980
skirpichev a046568
* prod: L3292, L3306, L3316-3328
skirpichev d7675d7
Merge branch 'main' into math-cov
skirpichev 96f99cd
Merge branch 'main' into math-cov
skirpichev 3df127e
More efficient (for finite x) handling of special cases in math.modf
skirpichev 5e6d59f
Change error tests in loghelper() to more lightweight versions (x == …
skirpichev 3e8d96f
Explicit tests for non-float objects (amend a1d2c1afbf)
skirpichev 35db224
Amend 8b3bb52420 (use math.sqrt(2) instead)
skirpichev 6844b19
Amend 052d7de86
skirpichev 6037d84
Merge branch 'main' into math-cov
skirpichev d2c5170
Merge branch 'main' into math-cov
encukou 833d852
Merge branch 'main' into math-cov
serhiy-storchaka 5768395
Merge branch 'main' into math-cov
skirpichev ad84c4a
Revert PyErr_ExceptionMatches
skirpichev 21bc1b8
Merge branch 'main' into math-cov
skirpichev d488a1d
Merge branch 'main' into math-cov
skirpichev dce58b3
Merge branch 'main' into math-cov
skirpichev d313423
Merge branch 'main' into math-cov
skirpichev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
Uh oh!
There was an error while loading. Please reload this page.