@increpare Ternary acceptable? return a=0 ? b==0 : (a&b)!=0 ;
-
-
@increpare a==0 && b==0 || (a&b) !=0 should always give you the right answer, but it's technically wrong -
@thegrieve@jwreschnig@tccoxon@zarawesome awesome suggestions http://jsperf.com/compare-bitwise-things … they're all basically the same performance-wise :D - 3 more replies
New conversation -
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.