The most intuitive explanation of floats I've ever come across, courtesy of @fabynou fabiensanglard.net/floating_point…
Nov 7, 2025 · 4:11 PM UTC
17
175
1,567
148,612
@GPU_MODE @fabynou The most intuitive explanation I ever got was an analogy between floating point numbers and ticks on a ruler. The linked explanation is a bog standard explanation. I think I first got it in assembly language programming, again in numerical analysis, & yet again in some PL course.
0
0
1
391
@GPU_MODEf@fabynou is gold exposes why FP16 denormals vanish at 2⁻¹⁴ but FP32 holds to 2⁻¹²⁶. GPU kernels lean on this: BF16 strips subnormals to save gates, while TF32 uses FP32’s mantissa with FP64’s range for matmul without overflow. Real trick? Hardware fma units fuse before rounding offset reveals the hidden guard bits. 🤯
0
0
4
736















