logoalt Hacker News

unanimous • yesterday at 10:38 PM • 3 replies • view on HN

This is nice to see, and it looks like this release (and maybe some earlier ones?) includes a small order of operations bug fix that hadn't been released for a long time. 1/2(-9.8) now equals -4.9 rather than -0.05102040816326530612. I like how the expression also renders with a multiplication symbol to clarify: 1 / 2 × (−9.8)


Replies

Jaxkr • today at 12:18 AM

This is such an ambiguous formula. It reminds me of those order-of-operations social media engagement baits.

dataflow • yesterday at 10:45 PM

> 1/2(-9.8) now equals -4.9 rather than -0.05102040816326530612

That should really be an error.

➕ show 1 reply
eviks • today at 5:19 AM

[dead]