~/talk

Portable floating-point calculations

Talkat Meeting C++ 2024 · 2024-11-14..11-16· [compilers-and-language-design]
slides:none on file

Claims a practical route to portable reproducible floating‑point that already solved deterministic multiplayer for Total War and now informs a geometry template library at Six Impossible Things Before Breakfast. Shows compilers (clang, GCC, MSVC), ISO 60559/IEEE‑754, and flags (-ffast‑math, FP_CONTRACT, FP_FAST/PRECISE) actually change results, with fused multiply‑add and stray GPU rounding modes causing divergence. Measures a 3× slowdown when forcing bitwise reproducibility. Proposes types like strict_float and rounded arithmetic plus library implementations rather than blanket optimizations.

AI-written summary · about

  1. 0:00Introduction
  2. 2:06Agenda
  3. 13:14Fixed-point challenges
  4. 19:14IEEE 754 and ISO/IEC 60559
  5. 27:29Reproducibility in operations
  6. 33:24C++ and C compliance
  7. 41:13Compiler optimizations trade-offs
  8. 44:06Improving portability proposals
  9. 49:05Q&A
~/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.