EPISODE · Oct 17, 2024 · 29 MIN
Float – Everything You Wanted to Know About (sps24)
from Chaos Computer Club - archive feed · host Konrad Gawda
It is common knowledge that floating point numbers (`float`) are tricky. When misused, floats may lead to construction disaster – I will mention some notable accidents. But mainly, I will dig the topic from Python interface and rounding methods (`int` vs `round`, `divmod`, `math` library), via special symbols (`NaN`, `Inf`, `-0.0`, …), invoking different processor modes (`FLT_ROUNDS`), down to the bits of IEEE 754 standard. about this event: https://c3voc.de
What this episode covers
It is common knowledge that floating point numbers (`float`) are tricky. When misused, floats may lead to construction disaster – I will mention some notable accidents. But mainly, I will dig the topic from Python interface and rounding methods (`int` vs `round`, `divmod`, `math` library), via special symbols (`NaN`, `Inf`, `-0.0`, …), invoking different processor modes (`FLT_ROUNDS`), down to the bits of IEEE 754 standard. about this event: https://c3voc.de
NOW PLAYING
Float – Everything You Wanted to Know About (sps24)
No transcript for this episode yet
Similar Episodes
Jun 9, 2026 ·50m
Jun 1, 2026 ·31m
May 25, 2026 ·39m
May 17, 2026 ·37m
May 8, 2026 ·39m
Apr 28, 2026 ·25m