gibsonca has asked for the wisdom of the Perl Monks concerning the following question:
After I read in a string from a file, how do I get the numeric value?
(1 << 18) | (0x00 << 12) | (0x00 << 6) | 0x00
I believe the correct value should be 0x40000. Tired of guessing my way thru...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Convert bitwise value to its value
by sauoq (Abbot) on May 16, 2012 at 21:48 UTC | |
Re: Convert bitwise value to its value
by mbethke (Hermit) on May 16, 2012 at 20:24 UTC | |
Re: Convert bitwise value to its value
by AnomalousMonk (Archbishop) on May 17, 2012 at 03:40 UTC |
Back to
Seekers of Perl Wisdom