digitalmars.D.learn - bitwise operators
- Orgoton <orgoton mindless.com> Mar 06 2007
- Frits van Bommel <fvbommel REMwOVExCAPSs.nl> Mar 06 2007
What are the binary operators in D? Bitwise and is made by var1&var2 Or is made by var1|var2 What about bitwise negation and XOR?
Mar 06 2007
Orgoton wrote:What are the binary operators in D? Bitwise and is made by var1&var2 Or is made by var1|var2 What about bitwise negation and XOR?
bitwise negation: ~var bitwise xor: var1 ^ var2
Mar 06 2007








Frits van Bommel <fvbommel REMwOVExCAPSs.nl>