Bit Packing | Sololearn: Learn to code for FREE!

0

Bit Packing

I need a program where you can save various types of numbers into static array. Array volume any, leys say 30. Numbers range from -1000.0 to 1000.0 and can be integers. If number is integer then get rid of it's fractional part zeros. Take any appropriate number of values and pack them into 32-bit integer. Decide what operations have to be done. In another method unpack 32bit integers and extract bits back to its original values that were before packing. Platform to do this - C or C++.

5/11/2018 6:57:20 AM

Tomas

0 Answers

New Answer