~/talk

Floating Point Hashing

Talkat RustWeek 2025 · 2025-05-13..05-17· [rust]
slides:none on file

Rasterizing non-uniform point clouds to uniform voxels uses a BVH nearest-neighbor check per corner, which repeats work; a cache keyed by the point coordinates in a Rust HashMap avoids recomputation but F32/F64 lack Hash/Eq. The implementation uses to_bits plus an ulps comparison that collapses every four consecutive float bit patterns into one hash, accepting harmless false negatives and relying on bounded scan extents and recursion depth. It works in practice for the constrained dataset but misses subnormals and unbounded error accumulation in the original proof.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54Problem Context
  3. 5:38Rust Example
  4. 6:55What is a Floating Point
  5. 9:20Inherent Precision Loss
  6. 10:38Drift and Error
  7. 13:04NAN
  8. 18:23NAN Problems
  9. 19:20Floating Point Hashing
  10. 23:53Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.