We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have a signed integer which I have to assign to an unsigned one after addition with unsigned one.
Like
int16_t x = -9; uint16_t y = 11;
if(x < y) { y = y+x; }
How to ensure that it always result in write opeartion, because signed & unsigned operation scombined form wrong values.