has xor ever been more useful than exponentiation?
-
-
Replying to @16kbps
@9999yrs Extremely. Exponentiation is a dangerous operation that risks overflow and underflow and doesn't actually appear frequently really
1 reply 0 retweets 1 like -
Replying to @EmilyGorcenski
@EmilyGorcenski i believe you but i dont want to1 reply 0 retweets 0 likes -
Replying to @16kbps
@9999yrs It's OK I've been writing numerical mathematics for 15 years and I still use ^ for exponentiation like, at least twice a month.
1 reply 0 retweets 0 likes -
Replying to @EmilyGorcenski
@EmilyGorcenski okay wait xor returns a value other than 1 or 0 sometimes? gimme a sec i gotta google this1 reply 0 retweets 0 likes -
-
Replying to @EmilyGorcenski
@EmilyGorcenski i never thought about it. other than swapping values (???) what’s it good for?1 reply 0 retweets 0 likes
@9999yrs One example: parsing a log. Anything that uses bitwise flags it can be useful. I use it when parsing game logs, for instance.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.