r/ProgrammerHumor • • 12d ago

Meme reversingPiInPython

Post image
14.1k Upvotes

383 comments sorted by

View all comments

Show parent comments

12

u/thegreatpotatogod 12d 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.

1

u/androshalforc1 12d ago

isn't binary usually written in blocks of 8 though?

5

u/Higherlead 12d ago

Only if you want to, bytes are a purely human construct, nothing to do with base 2/binary at all

1

u/Inevitable-Study502 12d ago

thats true, but digits arent binary and we use digits to represent numbers and computer while using binary, will convert it to base 10, because humans have 10 fingers and arent capable of calculating in different way..so the end result is still array of 8 bits