laziness, impatience, and hubris | |
PerlMonks |
Re^3: Boolean math: Fill in the blanks.by repellent (Priest) |
on Oct 12, 2008 at 16:54 UTC ( [id://716686]=note: print w/replies, xml ) | Need Help?? |
But plug in
into the OP code and it tends towards 5, which was how I was interpreting the expression:
My mistake. Perl evaluates ( R & R | R & R ) & R as ( (R & R) | (R & R) ) & R and that, according to my hypothesis, results in 7 bits set on average.
In Section
Seekers of Perl Wisdom
|
|