Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 studying the Monastery: (4)
As of 2015-07-05 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls