I have some bitfield:
int somefield : 15;
I'm trying to convert an int to 15 bit (can be positive or negative).
What is the best practice to do it efficiently?
I have some bitfield:
int somefield : 15;
I'm trying to convert an int to 15 bit (can be positive or negative).
What is the best practice to do it efficiently?