mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
![]() Jump threading stores values as `u128` (`ScalarInt`) and does its comparisons for equality as integer comparisons. This works great for integers. Sadly, not everything is an integer. Floats famously have wonky equality semantcs, with `NaN!=NaN` and `0.0 == -0.0`. This does not match our beautiful integer bitpattern equality and therefore causes things to go horribly wrong. While jump threading could be extended to support floats by remembering that they're floats in the value state and handling them properly, it's signficantly easier to just disable it for now. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |