Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-101100: Fix Sphinx warnings inc-api/float.rst
#113494
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
If you document PY_BIG_ENDIAN, you should also document PY_LITTLE_ENDIAN.
And I think that float.rst is a wrong place for this. They have little relation to floats. Actually, the endianess of floating point representation can be different from the endianess of integer representation (see DOUBLE_IS_BIG_ENDIAN_IEEE754, DOUBLE_IS_LITTLE_ENDIAN_IEEE754 and DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754).
Good point, these constants are defined in What do you recommend?
|
I do not know what is the best place for them, this is why they are still not documented. I suggest to leave this as is, until we found good place (many other macros are not documented). |
Fine by me, let's tackle these later. Thanks for the review! |
Uh oh!
There was an error while loading.Please reload this page.
Fix these warnings by documenting the constant:
📚 Documentation preview 📚:https://cpython-previews--113494.org.readthedocs.build/