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
A pseudocode sequence like this, in async functinon, fails on the last assert for some reason:
let a: f32 = -7.6; let b = a.to_bits(); defmt::assert!(a.to_bits() == b); defmt::assert!((a as i32) == -7); . . . await; . . defmt::assert!(a.to_bits() == b); defmt::assert!((a as i32) == -7);
It seems that after await the cast to i32 gives -8 instead of -7...
await
-8
-7
The text was updated successfully, but these errors were encountered:
Can you make a reproducible example and we can double check.
Sorry, something went wrong.
No branches or pull requests
A pseudocode sequence like this, in async functinon, fails on the last assert for some reason:
It seems that after
await
the cast to i32 gives-8
instead of-7
...The text was updated successfully, but these errors were encountered: