Maybe they just meant it as an explanation of "standard form", clarifying that -0 is turned into +0? (That's what adding 0 does, right?) On 5/20/05, Tim Peters <tim.peters at gmail.com> wrote: > [Tim Peters] > > ... > > Other important implementations of the standard didn't > > make this mistake; for example, Java's BigDecimal > > (java.lang.String) constructor follows the rules here: > > > > http://www2.hursley.ibm.com/decimalj/deccons.html > > Hmm -- or maybe it doesn't! The text says: > > The BigDecimal constructed from the String is in a > standard form, as though the add method had been > used to add zero to the number with unlimited > precision.[1] > > and I read "add zero" as "applies context". But then it says > "unlmited precision". I'm not at all sure what it means now. > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org > -- --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4