Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Bit operation

by toren (Novice)
on Jan 12, 2011 at 15:13 UTC ( [id://881911]=note: print w/replies, xml ) Need Help??


in reply to Re: Bit operation
in thread Bit operation

Thanks, On my system its look like
my $val = 0xffff_fff0; printf "%x\n", $val; $val |= 0x0000_0008; printf "%x\n", $val;
fffffff0 8

Replies are listed 'Best First'.
Re^3: Bit operation (perl version/OS)
by toolic (Bishop) on Jan 12, 2011 at 15:31 UTC
    What version of perl are you using?
    perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread
Re^3: Bit operation
by ikegami (Patriarch) on Jan 12, 2011 at 18:23 UTC
    Please double check. Are you sure that's exactly the code you ran? If so, please provide the output of perl -V. (That's an uppercase "V".)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://881911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found