Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
12.7 and narrowing signed integers
#2
edit: the second code sample should read
Code:
int_8 s8a;
uint_8 u8b;
...
u8b = (uint_8)s8a & 0x7F;
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)