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

Programmer Humor

19817 readers
67 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 2 years ago
MODERATORS
 

Probably should've just asked Wolfram Alpha

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 month ago (2 children)

I read it as “A third of a third plus a third is a half.” Which makes sense to me. What an I missing?

[–] [email protected] 7 points 1 month ago* (last edited 1 month 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

[–] [email protected] 2 points 1 month 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.

[–] [email protected] 1 points 1 month 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

[–] [email protected] 1 points 1 month ago

divvying up food rather than doing actual math.

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

[–] [email protected] 1 points 1 month ago (1 children)

What an I missing?

basic arithmetic? .33 + .33 doesn't = .5

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

Guess that makes two of us. More like .11 + .33 doesn’t = .5

[–] [email protected] 2 points 1 month ago

I was thinking the same thing.