Meanwhile in C: macOS libc's %g is buggy. When an exact tie rounds down, it leav...
vitaut π€β€οΈπ€ πΊπ¦ @vitaut@mastodon.social
Meanwhile in C: macOS libc's %g is buggy. When an exact tie rounds down, it leaves the trailing zeros the standard says to strip: %.2g of 505 gives 5.0e+02 instead of 5e+02.