Just a note that this PEP is being discussed at
https://discuss.python.org/t/pep-682-format-specifier-for-signed-zero
TLDR; When formatting a number (especially with rounding options), often
you don't want negative-signed zero as an output. A format spec extension
enables normalizing such values to positive zero.
Regards,
--John Belmonte
https://discuss.python.org/t/pep-682-format-specifier-for-signed-zero
TLDR; When formatting a number (especially with rounding options), often
you don't want negative-signed zero as an output. A format spec extension
enables normalizing such values to positive zero.
Regards,
--John Belmonte