Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: decimal to binary

by Marshall (Canon)
on Jan 09, 2012 at 11:06 UTC ( [id://946985]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    printf "The CRC Bytes (binary)  : %04b %04b %04b %04b\n", 
                            $CRC_byte1>>4, $CRC_byte1 & 0xF, 
                            $CRC_byte2>>4, $CRC_byte2 & 0xF;
    
  2. or download this
    void dump_16bits(unsigned int any_16bits)
    {
    ...
            any_16bits <<=1;  #a keft shift 1 bit
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-16 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found