Floating Point Hashing: Why you shouldn't do it, and why I did it one time anyway
RustNLYou may have heard that floating point numbers are “numerically unstable” and “shouldn’t be hashed”, but why? Today we’ll learn all the reasons why this is a TERRIBLE idea, and then we’ll break all the rules and do it anyway! What are they going to do, put me in floating point jail? For an addenda post, a collection of bonus content and elaborations on the talk, see: https://sixfold-origami.com/articles/floating-point-hashing-addenda You can find Rose on: GitHub: https://github.com/sixfold-origami Website: https://sixfold-origami.com/ This talk was given at Rust Week 2025, in Utrecht, The Netherlands. Playlist of other talks from Rust Week 2025: https://www.youtube.com/playlist?list=PL8Q1w7Ff68DCEXiGidlM0DMn8ztjlUlez Want to come to Rust Week 2026 in-person? go to https://2026.rustweek.org