Hacker News with Generative AI: Floating-Point Arithmetic

Reverse Engineering the Constants in the Pentium FPU (righto.com)
Intel released the powerful Pentium processor in 1993, establishing a long-running brand of high-performance processors.1 The Pentium includes a floating-point unit that can rapidly compute functions such as sines, cosines, logarithms, and exponentials. But how does the Pentium compute these functions? Earlier Intel chips used binary algorithms called CORDIC, but the Pentium switched to polynomials to approximate these transcendental functions much faster. The polynomials have carefully-optimized coefficients that are stored in a special ROM inside the chip's floating-point unit.
Strtod Is Wild (festina-lente-productions.com)
The strtod function in the C standard library seems innocent enough: take a decimal representation of a number, such as "10.35" and return the nearest floating-point binary number (the double C type) [note 1].
Herbie: Optimize Floating-Point Expressions (uwplse.org)
IEEE FP8 Formats for Machine Learning (Draft) [pdf] (github.com/P3109)
0.1 plus 0.2 (rtfeldman.com)