Skip to content

tracking issue for algebraic_ float functions in kani #4736

Description

@xd009642

Following on from this discussion #4733 this is a tracking issue for support of the algebraic methods that will be stabilised in rust 1.98.

A code sample from the discussion that shows as not supported:

#![feature(float_algebraic)]

#[kani::proof]
fn check_algebraic_add() {
    let a: f32 = kani::any();
    let b: f32 = kani::any();
    kani::assume(a.is_finite() && b.is_finite());
    assert!(a.algebraic_add(b) == a + b);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    [C] Feature / EnhancementA new feature request or enhancement to an existing feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions