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
following rust program https://github.com/mrk-its/aoc2022/blob/new_rust/pi/src/main.rs
produces bad result:
$ cargo run -p pi --release 100 pi: -2147450880 47611328 cycles
changing casting to to_int_unchecked produces proper result:
to_int_unchecked
$ cargo run -p pi --release --features to_int_unchecked 100 pi: 314 47474448 cycles
This is probably because of some flaw in implementation of intrinsic(@llvm.fptosi.sat) llvm-mos/llvm-mos-sdk#299 (llvm-mos/llvm-mos@2372941 llvm-mos/llvm-mos-sdk#303)
intrinsic(@llvm.fptosi.sat)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
following rust program https://github.com/mrk-its/aoc2022/blob/new_rust/pi/src/main.rs
produces bad result:
changing casting to
to_int_unchecked
produces proper result:This is probably because of some flaw in implementation of
intrinsic(@llvm.fptosi.sat)
llvm-mos/llvm-mos-sdk#299 (llvm-mos/llvm-mos@2372941 llvm-mos/llvm-mos-sdk#303)The text was updated successfully, but these errors were encountered: