Skip to content

Add non-determinism to algebraic intrinsics. #4289

Open
rust-lang/rust
#140439
@bjoernager

Description

@bjoernager

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, or algebraic_rem intrinsics 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-intrinsicsArea: Affects out implementation of Rust intrinsicsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions