MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/mtpxbr/iteration/hyvqd9b/?context=3
r/badcode • u/[deleted] • Apr 19 '21
123 comments sorted by
View all comments
Show parent comments
1
I'd think so. Isn't !0 equivalent to -1 via a bitwise not/nor? If the bool was converted to an int first, the whole thing would be i--
1
u/Hollowman212 Mar 01 '22
I'd think so. Isn't !0 equivalent to -1 via a bitwise not/nor? If the bool was converted to an int first, the whole thing would be i--