this post was submitted on 15 Nov 2024
419 points (94.1% liked)

Programmer Humor

19587 readers
2061 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

founded 1 year ago
MODERATORS
 

Probably should've just asked Wolfram Alpha

you are viewing a single comment's thread
view the rest of the comments
[–] SomethingBurger@jlai.lu 4 points 1 day ago* (last edited 1 day ago) (1 children)

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

[–] mister_flibble@lemm.ee 2 points 1 day ago (2 children)

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.

[–] mojofrododojo@lemmy.world 1 points 20 hours ago

divvying up food rather than doing actual math.

divvying up - dividing food into equal proportions - is math.

[–] Revan343@lemmy.ca 1 points 22 hours ago

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