gh-132908: Add math.isnormal/issubnormal() functions#132935
Merged
serhiy-storchaka merged 10 commits intopython:mainfrom Jun 2, 2025
Merged
gh-132908: Add math.isnormal/issubnormal() functions#132935serhiy-storchaka merged 10 commits intopython:mainfrom
serhiy-storchaka merged 10 commits intopython:mainfrom
Conversation
Misc/NEWS.d/next/Library/2025-04-25-16-06-53.gh-issue-132908.wV5rja.rst
Outdated
Show resolved
Hide resolved
skirpichev
commented
Apr 25, 2025
Misc/NEWS.d/next/Library/2025-04-25-16-06-53.gh-issue-132908.wV5rja.rst
Outdated
Show resolved
Hide resolved
skirpichev
commented
Apr 25, 2025
skirpichev
commented
Apr 25, 2025
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Member
|
So, we have some known buildbots issues. I'll wait for it to be solved and then once it's ok for them, I'll merge it. |
Member
Author
|
Technically it's very trivial pr, yet I would appreciate a second look from someone. Maybe we should be more vague and not define in any way normal/subnormal meaning (i.e. not reference sys.float_info). (Or mention this as CPython implementation detail.) E.g. should all Python implementations support subnormals? |
StanFromIreland
approved these changes
Apr 25, 2025
Member
StanFromIreland
left a comment
There was a problem hiding this comment.
IMO the docs and implementation are fine, everything is explained well.
skirpichev
commented
Apr 28, 2025
Member
Author
|
CC @serhiy-storchaka per experts index. See also issue thread. |
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.
📚 Documentation preview 📚: https://cpython-previews--132935.org.readthedocs.build/