We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to compile your code for esp8266 that is a 32bit cpu and i notice that you assume 16bit int size, better leave to compiler these work!
here a possible solution if (x&0x2000){ x= x-0b11111111111111-1; //x|=0xc000; // set full 2 complement for neg values }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I try to compile your code for esp8266 that is a 32bit cpu and i notice that you assume 16bit int size,
better leave to compiler these work!
here a possible solution
if (x&0x2000){
x= x-0b11111111111111-1;
//x|=0xc000; // set full 2 complement for neg values
}
The text was updated successfully, but these errors were encountered: