With regard to CPython, there is a recent discussion on this topic:
https://discuss.python.org/t/trying-to-understand-rounding-in-python/28014
Le jeu. 28 déc. 2023, à 21 h 43, Stefano Miccoli via NumPy-Discussion <
numpy-discussion@python.org> a écrit :
> I have always been puzzled about how to c
I have always been puzzled about how to correctly define the python built-in
`round(number, ndigits)` when `number` is a binary float and `ndigits` is
greater than zero.
Apparently CPython and numpy disagree:
>>> round(2.765, 2)
2.77
>>> np.round(2.765, 2)
2.76
My
Apologies for the late notice!
Our next Newcomers' Hour will be held this Thursday, 28th, 2023 at 12 PM
UTC, Stop by to ask questions, share your progress, celebrate success, or
just to say hi.
To add to the meeting agenda the topics you’d like to discuss, follow the
link: https://hackmd.io/3f3o