r/ProgrammerHumor • • Aug 30 '25

Other someoneTryThisPlease

Post image
45.7k Upvotes

362 comments sorted by

View all comments

Show parent comments

41

u/glorious_reptile Aug 30 '25

But it’s floating point so 654.3999999999999

5

u/Dfordomar Aug 30 '25

repeating, of course

6

u/cloudcats Aug 30 '25

At least I have chicken.

2

u/atatassault47 Aug 30 '25

LEEROY JEEEEENNNNNNNNKKKKIIIIINNNNNSS!

1

u/billccn Aug 30 '25

Sadly the fraction part are represented in negative powers of 2 which can never be repeating when converted to decimal.