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
GDay Torhu Yes thanks . I studied it in uni about 17 years ago but still don't follow its use . Seemed as though that would be wrong but had to go tongue in cheek . Crossed it again in digital counter construction with 4017 chips etc Cheers
Mar 26 2008