in reply to Representing a 32-bit integer
You could torture vec into modifying integer representations, but why avoid pack/unpack? They're fast and made for the job.
After Compline,Zaxo