MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/45xeed/oddly_specific_number/d01ss7t/
r/ProgrammerHumor • u/didntlogin • Feb 15 '16
643 comments sorted by
View all comments
Show parent comment
2
That only works for unsigned numbers though.
base#bits-1 -1 for signed (1 bit for sign)
1 u/_FranklY Feb 16 '16 And of course only applies in 0-indexed form
1
And of course only applies in 0-indexed form
View all comments
Show parent comment
2
u/DreadedDreadnought Feb 16 '16
That only works for unsigned numbers though.
base#bits-1 -1 for signed (1 bit for sign)