bitwise operators

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Tue Mar 6 12:35:46 PST 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


More information about the Digitalmars-d-learn mailing list