René's URL Explorer Experiment


Title: PEP 682 – Format Specifier for Signed Zero | peps.python.org

Open Graph Title: PEP 682 – Format Specifier for Signed Zero | peps.python.org

Description: Though float and Decimal types can represent signed zero, in many fields of mathematics negative zero is surprising or unwanted – especially in the context of displaying an (often rounded) numerical result. This PEP proposes an extension to the string ...

Open Graph Description: Though float and Decimal types can represent signed zero, in many fields of mathematics negative zero is surprising or unwanted – especially in the context of displaying an (often rounded) numerical result. This PEP proposes an extension to the string ...

Opengraph URL: https://peps.python.org/pep-0682/

direct link

Domain: peps.python.org

color-schemelight dark
og:typewebsite
og:site_namePython Enhancement Proposals (PEPs)
og:imagehttps://peps.python.org/_static/og-image.png
og:image:altPython PEPs
og:image:width200
og:image:height200
theme-color#3776ab

Links:

Pythonhttps://www.python.org/
PEP Indexhttps://peps.python.org/pep-0000/
Discourse threadhttps://discuss.python.org/t/pep-682-format-specifier-for-signed-zero/13596
Discourse threadhttps://discuss.python.org/t/accepting-pep-682-format-specifier-for-signed-zero/14088
Abstracthttps://peps.python.org/682#abstract
Motivationhttps://peps.python.org/682#motivation
Rationalehttps://peps.python.org/682#rationale
Specificationhttps://peps.python.org/682#specification
Design Noteshttps://peps.python.org/682#design-notes
Backwards Compatibilityhttps://peps.python.org/682#backwards-compatibility
How to Teach Thishttps://peps.python.org/682#how-to-teach-this
Reference Implementationhttps://peps.python.org/682#reference-implementation
Copyrighthttps://peps.python.org/682#copyright
Abstracthttps://peps.python.org/682#abstract
signed zerohttps://en.wikipedia.org/wiki/Signed_zero
string format specificationhttps://docs.python.org/3/library/string.html#formatstrings
Motivationhttps://peps.python.org/682#motivation
How to have negative zero always formatted as positive zero in a python string?https://stackoverflow.com/questions/11010683/how-to-have-negative-zero-always-formatted-as-positive-zero-in-a-python-string/36604981#36604981
(Iron)Python formatting issue with modulo operator & “negative zero”https://stackoverflow.com/questions/41564311/ironpython-formatting-issue-with-modulo-operator-negative-zero/41564834#41564834
Negative sign in case of zero in javahttps://stackoverflow.com/questions/11929096/negative-sign-in-case-of-zero-in-java
Prevent small negative numbers printing as “-0”https://stackoverflow.com/questions/10969399/prevent-small-negative-numbers-printing-as-0
Rationalehttps://peps.python.org/682#rationale
proposed for C++ std::format()http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1496r2.pdf
feature requesthttps://bugs.python.org/issue45995
survey of other languageshttps://github.com/rust-lang/rfcs/issues/1074#issuecomment-718243936
Specificationhttps://peps.python.org/682#specification
Format Specification Mini-Languagehttps://docs.python.org/3/library/string.html#format-specification-mini-language
Design Noteshttps://peps.python.org/682#design-notes
PEP 378https://peps.python.org/pep-0378/
Backwards Compatibilityhttps://peps.python.org/682#backwards-compatibility
How to Teach Thishttps://peps.python.org/682#how-to-teach-this
Format Specification Mini-Languagehttps://docs.python.org/3/library/string.html#format-specification-mini-language
Reference Implementationhttps://peps.python.org/682#reference-implementation
pull request #30049https://github.com/python/cpython/pull/30049
Copyrighthttps://peps.python.org/682#copyright
https://github.com/python/peps/blob/main/peps/pep-0682.rsthttps://github.com/python/peps/blob/main/peps/pep-0682.rst
2025-02-01 08:55:40 GMThttps://github.com/python/peps/commits/main/peps/pep-0682.rst
Abstracthttps://peps.python.org/682#abstract
Motivationhttps://peps.python.org/682#motivation
Rationalehttps://peps.python.org/682#rationale
Specificationhttps://peps.python.org/682#specification
Design Noteshttps://peps.python.org/682#design-notes
Backwards Compatibilityhttps://peps.python.org/682#backwards-compatibility
How to Teach Thishttps://peps.python.org/682#how-to-teach-this
Reference Implementationhttps://peps.python.org/682#reference-implementation
Copyrighthttps://peps.python.org/682#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0682.rst?plain=1

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.