|
|
|
|
|
by masklinn
1296 days ago
|
|
> I have seen banking regulators getting upset in the past because of roundings not following the usual convention ("banker's rounding"). That… is exactly the behaviour python implements, and what GP was surprised by… It is also, incidentally, the IEEE 754 recommendation. Python 2 used to round away from 0. |
|