www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - So is this an error in the Tango Book ?

reply Ty Tower <tytower hotmail.com.au> writes:
Page 76 Binary Operators -I never really understood them.

AND    opAnd   o&c opAnd_r
OR     opOr    o&c opOr_r

The examples o&c are identical ?
Mar 25 2008
parent reply torhu <no spam.invalid> writes:
Ty Tower wrote:
 Page 76 Binary Operators -I never really understood them.
 
 AND    opAnd   o&c opAnd_r
 OR     opOr    o&c opOr_r
 
 The examples o&c are identical ?

It's a typo in the book. http://en.wikipedia.org/wiki/Bitwise_operation
Mar 26 2008
parent Tower Ty <tytower hotmail.com.au> writes:
torhu Wrote:

 Ty Tower wrote:
 Page 76 Binary Operators -I never really understood them.
 
 AND    opAnd   o&c opAnd_r
 OR     opOr    o&c opOr_r
 
 The examples o&c are identical ?

It's a typo in the book. http://en.wikipedia.org/wiki/Bitwise_operation

Mar 26 2008