Faster floating point math with Rust's new API

(pythonspeed.com)

25 points | by subset 4 days ago

1 comments

  • GeertB 4 days ago
    Signed integer addition is only associative when overflow is defined to wrap around like unsigned arithmetic. This condition is matched here, because only debug builds panic on overflow. However, it's a bit of a gray area that the article completely ignores.