Mercurial > cpython-lru_cache-weakref
comparison Python/getcompiler.c @ 8287:d3bf3c2ad75a legacy-trunk
Implement round() slightly different, so that for negative ndigits no
additional errors happen in the last step. The trick is to avoid
division by 0.1**n -- multiply by 10.0**n instead.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 09 May 1998 14:42:25 +0000 |
| parents | 728a083242a2 |
| children | 916fb024ce94 |
comparison
equal
deleted
inserted
replaced
| 8286:4c88cc62e9e9 | 8287:d3bf3c2ad75a |
|---|
