Programmer: 2 + 2 is 3.99999999999999999
this post was submitted on 08 Sep 2023
236 points (100.0% liked)
196
16510 readers
2756 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
2 + 2 == 4 with any reasonable fixed and floating point format. In ieee 754 floats powers of 2 have a fraction of exactly 1.0 and differing exponents.
As an accountant, I assure you that I advised the stakeholder about the risks and possible outcomes of their actions first. I’m out of it now, but working for privately owned small to midsize businesses was a trip…
Accounts receivable says 4, but it's probably broken up with discounts or shortage discrepancies.
22 obviously
ahh, javascript
My former coworker when he was driving: "yeah, it's 4, but it's safe to drive 8. almost runs into a tram"
Roadman: 2+2 is 4, minus 1 that's 3 QUICK MATHS!