March 06, 2007 bitwise operators | ||||
---|---|---|---|---|
| ||||
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? |
March 06, 2007 Re: bitwise operators | ||||
---|---|---|---|---|
| ||||
Posted in reply to Orgoton | 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
|
Copyright © 1999-2021 by the D Language Foundation