@grimicorn.bsky.socialDan Holloran @grimicorn.bsky.social
2026-11-22 17:13 UTC
reduce() rounds at every step when summing floats, so the total can change just by reordering the array. Math.sumPrecise rounds once. 🔗 danholloran.me/posts/math-s... #javascript #webdev
Link: Math.sumPrecise: Stop Letting reduce() Round Your Totals (danholloran.me/posts/math-sumprecise-stop-letting-reduce-ro…)
1 likes, 0 reposts, 0 replies
3 Next post4 More from @grimicorn.bsky.socialBackBluesky home