You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What numpy follows when rounding exact halves is round half to nearest even. You can read why it is the default rounding model followed by IEEE_754 becuase of eliminating biases here.
The text was updated successfully, but these errors were encountered:
@JohanMabille If this is a valid issue, I'd like to send in a fix. Thanks.
faze-geek
changed the title
DIvergence in default rounding of xt::round() from np.round()
Divergence in default rounding of xt::round() from np.round()Jul 30, 2024
Consider following bankers rounding for xt::round() instead of rounding away from zero
xtensor -
numpy -
What numpy follows when rounding exact halves is round half to nearest even. You can read why it is the default rounding model followed by IEEE_754 becuase of eliminating biases here.
The text was updated successfully, but these errors were encountered: