Top "Packing" questions

Use this tag for questions related to packing, which can extend from struct packing to grouping elements together.

Pack four bytes in a float

I'm writing a shader (HLSL), and I need to pack a color value into the R32 format. I've found various …

hlsl packing
Union and struct packing problem

I'm writing some software where each bit must be exact(it's for the CPU) so __packed is very important. typedef …

c struct unions packing
Pylint warning: Possible unbalanced tuple unpacking with sequence

I have a piece of Python code: def func1(): a=set() b = ','.join(map(str, list(a))) return …

python tuples pylint packing