you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago

That is default IEEE behaviour: https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_even

This is the default rounding mode used in IEEE 754 operations for results in binary floating-point formats.

Though it's definitely a bad default because it's so surprising. Javascript and Rust do not do this.

Not really anything to do with determinism though.

  • source
  • parent