Bitwise not
Displaying 1-3 of 3 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Overkill

We could really use the bitwise NOT operator in VC. Currently, one has to emulate ! with (bit_field | bit_mask) ^ bit_mask; which isn't very fun. :(

Posted on 2005-06-26 16:48:09

Gayo

Xoring versus all ones is faster. But yeah, bitwise not would be swell.

Posted on 2005-06-26 18:52:11

Jesse

Done in SVN. I used '~', which is standard from C. Unary minus is also in svn.

Posted on 2005-06-30 15:58:05


Displaying 1-3 of 3 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.