Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: 5x6-bit values into/out of a 32-bit word

by Skeeve (Vicar)
on Mar 18, 2007 at 19:01 UTC ( #605378=note: print w/ replies, xml ) Need Help??


in reply to 5x6-bit values into/out of a 32-bit word

I'd use a 4 Byte String and vec.

Update: Sorry... Didn't notice that vec is just for powers of 2 :-(

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e


Comment on Re: 5x6-bit values into/out of a 32-bit word
Select or Download Code
Re^2: 5x6-bit values into/out of a 32-bit word
by BrowserUk (Pope) on Mar 18, 2007 at 19:07 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-11-27 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (186 votes), past polls