As in this code:
int nx = (int)((rev3[gx]) / 193U);
Whats with the U in the end of 193 ?
The u is unsigned, that is: 1 is the int value 1, and 1u is the unsigned int value 1.
It means that the number is an unsigned int, which is a data type much like an int except that it has no negative values, which is a trade-off it makes so that it can store larger values (twice as large as a regular int).
It means it's an unsigned int constant. It's a way of telling the compiler to use a specific type for a constant where it wouldn't otherwise know the type. A naked 193 would be treated as an int normally.
It's similar to the L suffix for long, the ULL for unsigned long long and so forth.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With