c0dec0dec0de, 1 month ago @dr2chase @futurebird @phryk “For values exactly halfway between rounded decimal values, NumPy rounds to the nearest even value. Thus 1.5 and 2.5 round to 2.0, -0.5 and 0.5 round to 0.0, etc.” https://numpy.org/doc/stable//reference/generated/numpy.round.html
@dr2chase @futurebird @phryk “For values exactly halfway between rounded decimal values, NumPy rounds to the nearest even value. Thus 1.5 and 2.5 round to 2.0, -0.5 and 0.5 round to 0.0, etc.” https://numpy.org/doc/stable//reference/generated/numpy.round.html