You are viewing a single comment's thread. Return to all comments →
i did the same thing but in a twisted way. Yours was much simpler
return ~n<0?(long)Math.pow(2,32)+~n:~n;
Flipping bits
You are viewing a single comment's thread. Return to all comments →
i did the same thing but in a twisted way. Yours was much simpler