perlknight has asked for the wisdom of the Perl Monks concerning the following question:
fellow monks, I need clarification on this line of code:
Does this mean, shift binary 1 to the left 31 bit and * 2?$cycle = ((1<<31) * 2);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: bitwise shift operator
by GrandFather (Saint) on Apr 19, 2007 at 01:02 UTC | |
by jwkrahn (Monsignor) on Apr 19, 2007 at 01:50 UTC | |
by Moron (Curate) on Apr 19, 2007 at 18:12 UTC |
Back to
Seekers of Perl Wisdom