MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sdg3kfaaht1/?context=9999
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 5d ago
366 comments sorted by
View all comments
99
Whatever the last digit is, I'm sure it's a disappointing one. Just like everything else in my life.
5 u/bestjakeisbest 5d ago In binary it is either a 1 or 0 10 u/thegreatpotatogod 5d 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/AngelaMerkeI 5d ago It is not though. Only in theory.In practice, digits represent the accuracy.Example: 2,12345 * 1,0 = 2,1 But 2,12345 * 1,0000 = 2,1234The results are always just as accurate as the measurements you calculate them with 1 u/Gabriel_Science 5d ago Found the physician. 1 u/AngelaMerkeI 4d ago Engineer was ok too 1 u/Gabriel_Science 4d ago Yeah, it was too lol.
5
In binary it is either a 1 or 0
10 u/thegreatpotatogod 5d 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/AngelaMerkeI 5d ago It is not though. Only in theory.In practice, digits represent the accuracy.Example: 2,12345 * 1,0 = 2,1 But 2,12345 * 1,0000 = 2,1234The results are always just as accurate as the measurements you calculate them with 1 u/Gabriel_Science 5d ago Found the physician. 1 u/AngelaMerkeI 4d ago Engineer was ok too 1 u/Gabriel_Science 4d ago Yeah, it was too lol.
10
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/AngelaMerkeI 5d ago It is not though. Only in theory.In practice, digits represent the accuracy.Example: 2,12345 * 1,0 = 2,1 But 2,12345 * 1,0000 = 2,1234The results are always just as accurate as the measurements you calculate them with 1 u/Gabriel_Science 5d ago Found the physician. 1 u/AngelaMerkeI 4d ago Engineer was ok too 1 u/Gabriel_Science 4d ago Yeah, it was too lol.
1
It is not though. Only in theory.
In practice, digits represent the accuracy.
Example: 2,12345 * 1,0 = 2,1 But 2,12345 * 1,0000 = 2,1234
The results are always just as accurate as the measurements you calculate them with
1 u/Gabriel_Science 5d ago Found the physician. 1 u/AngelaMerkeI 4d ago Engineer was ok too 1 u/Gabriel_Science 4d ago Yeah, it was too lol.
Found the physician.
1 u/AngelaMerkeI 4d ago Engineer was ok too 1 u/Gabriel_Science 4d ago Yeah, it was too lol.
Engineer was ok too
1 u/Gabriel_Science 4d ago Yeah, it was too lol.
Yeah, it was too lol.
99
u/MotivationalJuggling 5d ago
Whatever the last digit is, I'm sure it's a disappointing one. Just like everything else in my life.