Interpolate 3 x (4 bits) values at once stored in a 4 bytes variable

前端 未结 0 906
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-04 19:55

I have stored 3 numbers in a 32 variable, these numbers are max 4bits each and they are stored in the following format in a 32bits variable= 0x00003DEF (so there is one free bit

相关标签:
回答
  • 消灭零回复
提交回复
热议问题