this post was submitted on 15 Nov 2024
430 points (94.1% liked)
Programmer Humor
19623 readers
2118 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's wrong.
1/3 + (1/3 * 1/3) = 3/9 + 1/9 = 4/9
. It's close though.However, one third plus one half of a third is correct.
1/3 + (1/2 * 1/3) = 1/3 + (1.5/3 * 1/3) = 1/3 + 0.5/3 = 1.5/3 = 1/2
I'm guessing whatever it scraped to generate this was intended for divvying up food rather than doing actual math. 1/3 plus a third of a third is close enough to a half if you're talking about portioning out pizza or leftovers or what have you.
divvying up - dividing food into equal proportions - is math.
Yep, the difference between .444... And .5 is only .0555...
Who notices 5 nintieths of something? That's going to be within the error of sloppy measuring anyways