this post was submitted on 15 Nov 2024
421 points (93.9% liked)

Programmer Humor

19623 readers
96 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 7 points 1 week ago* (last edited 1 week 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 week ago (1 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.

[–] Revan343@lemmy.ca 1 points 1 week 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