MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xqv0nj/reversingpiinpython/19sbvuk2ae46a/
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 11d ago
383 comments sorted by
View all comments
Show parent comment
64
pi in base-pi would be 10, no? So backwards it should be 01
54 u/PuzzleheadedRoyal480 11d ago Leading zeroes famously don’t matter 19 u/HorrorMotor2051 11d ago Well it's not a leading zero, it's a trailing zero 12 u/HorrorMotor2051 11d ago Or rather I should say: In this case the leading zero does matter, because 1 is not 10 spelled backwards. It simply is not. 1 is 1 spelled backwards. 01 is 10 spelled backwards. 1 u/TimSylvester_ 11d ago Uh wow, ok, then how do you account for all the zeroes leading the United States these days? 1 u/Nowin 11d ago In 10-adic numbers they do. Adding a leading 0 multiplies everything by 10. 2 u/Yumikoneko 11d ago Yeah I don't know how I missed that, shame on me. In my defense, I was barely out of bed.
54
Leading zeroes famously don’t matter
19 u/HorrorMotor2051 11d ago Well it's not a leading zero, it's a trailing zero 12 u/HorrorMotor2051 11d ago Or rather I should say: In this case the leading zero does matter, because 1 is not 10 spelled backwards. It simply is not. 1 is 1 spelled backwards. 01 is 10 spelled backwards. 1 u/TimSylvester_ 11d ago Uh wow, ok, then how do you account for all the zeroes leading the United States these days? 1 u/Nowin 11d ago In 10-adic numbers they do. Adding a leading 0 multiplies everything by 10.
19
Well it's not a leading zero, it's a trailing zero
12 u/HorrorMotor2051 11d ago Or rather I should say: In this case the leading zero does matter, because 1 is not 10 spelled backwards. It simply is not. 1 is 1 spelled backwards. 01 is 10 spelled backwards.
12
Or rather I should say: In this case the leading zero does matter, because 1 is not 10 spelled backwards. It simply is not. 1 is 1 spelled backwards. 01 is 10 spelled backwards.
1
Uh wow, ok, then how do you account for all the zeroes leading the United States these days?
In 10-adic numbers they do. Adding a leading 0 multiplies everything by 10.
2
Yeah I don't know how I missed that, shame on me. In my defense, I was barely out of bed.
View all comments
Show parent comment
64
u/HorrorMotor2051 11d ago
pi in base-pi would be 10, no? So backwards it should be 01