~/talk

An Introduction To Floating Point Math

recording made private on YouTubehttps://youtu.be/kmQQtoQ-Moc
Talkat NDC TechTown 2022 · 2022-08-29..09-01· [c-and-cpp]
links:none on file
video:https://youtu.be/kmQQtoQ-Moc (made private)
slides:none on file

Covers why decimal examples like 0.1 + 0.2 != 0.3 and why 20,000,000 + 1 == 20,000,000 happen, explains normalization vs denormals and how absolute vs relative rounding causes non‑associative addition and multiplication, shows guarantees provided by IEEE 754 binary floats, recommends using wider types first and using Kahan summation (≈3× cost) or logarithms for tiny products, compares bitwise/absolute/relative/ulp comparisons, and warns about platform quirks: Intel 80‑bit intermediates, Go/C++ compile‑time vs runtime math, and FPU rounding mode changes.

AI-written summary · about

~/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.