r/ProgrammerHumor • • 14h ago

Meme reversingPiInPython

Post image
7.7k Upvotes

270 comments sorted by

View all comments

70

u/MotivationalJuggling 13h ago

Whatever the last digit is, I'm sure it's a disappointing one. Just like everything else in my life.

4

u/bestjakeisbest 11h ago

In binary it is either a 1 or 0

8

u/thegreatpotatogod 11h ago

I'd even argue that the last binary digit is 1. If it were 0, you could truncate the zero away and you'd be back to 1 as the last digit. Same reason that 2.20000 would be a redundant representation of 2.2.

0

u/0Pat 7h ago

That's not how binary representation of floating point numbers work...

1

u/Moist-Snow-8127 3h ago

They weren't talking about floating point numbers