~/talk

Elevating Precision in C++ - A Journey Below the Surface of Floating-Point

Talkat C++ on Sea 2024 · 2024-07-02..07-05· [machine-learning]
name:Tom Tesch
links:none on file
slides:none on file

Deep dive into IEEE754 bits, recent C++ types and a working double-double (Decker double) implementation that actually reduces rounding error by orders of magnitude on the 1e6-add test, at the cost of ~5–6x slowdown in QuickBench. Code uses bit_cast split/multiply helpers, Compiler Explorer/Godbolt and QuickBench for measurement, shows long double on MSVC equals double, and demonstrates C++23 float16/float128/bf16 literals and practical printing/formatting problems still unresolved.

AI-written summary · about

  1. 0:00Floating-point precision intro
  2. 8:54How floats work
  3. 17:00Modern C++ float types
  4. 21:42Decker doubles
  5. 27:33Decker double arithmetic
  6. 35:34Multiplication and helpers
  7. 43:24Demo and performance
  8. 49:10Q&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.