Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
P is for Practical
 
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 avoiding work at the Monastery: (5)
As of 2014-04-23 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (541 votes), past polls