-
Notifications
You must be signed in to change notification settings - Fork 471
Add non-determinism to algebraic intrinsics. #4289
Copy link
Copy link
Closed
rust-lang/rust
#140439Labels
A-intrinsicsArea: Affects out implementation of Rust intrinsicsArea: Affects out implementation of Rust intrinsicsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement
Metadata
Metadata
Assignees
Labels
A-intrinsicsArea: Affects out implementation of Rust intrinsicsArea: Affects out implementation of Rust intrinsicsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement
Type
Fields
Give feedbackNo fields configured for issues without a type.
Tracking issue: rust-lang/rust#136469
Since rust-lang/rust#140172, the result of a call to any of the
algebraic_add,algebraic_sub,algebraic_mul,algebraic_div, oralgebraic_remintrinsics has been deterministic in Miri.Valid programmes do not depend on these computations being exact, thus Miri should add some non-determinism so that any such dependence is more likely to be caught.