Re: [Python-Dev] Change in Python 3's "round" behavior

2018年9月30日 15:18:48 -0700

Chris Angelico wrote:
]That
means that any representable number actually has to indicate a range
of values centered on that value.
That's not always true -- it depends on the source of the
information. For example, a reading of 5 seconds on a clock
with 1 second resolution actually represents a value between
5 and 6 seconds.
So if you're fussy about rounding, you might want to round
clock readings differently from measurements on a ruler.
--
Greg
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to