Skip to content

A pair that straddles the floor is a zero result even when it agrees within the tolerance #6

Open

Description

@mklarmann

The floor classes are tried before the tolerance (SPEC 5.1), so 0.010000001 → 0.009999999 at a floor of 0.01 is zero result, moves down, and is listed second worst. It is case A3 (solver noise counted as a change) at the floor: a relative difference of 2e-7 is a change only because it crosses the floor.

Proposed: after near zero, a pair whose sides share a sign and differ by no more than the tolerance is agrees (or, by no more than the noise, within noise) before zero reference and zero result are tried. SPEC 5.1 and a new acceptance case.

Needs a decision. The fix on first-version takes the option above; Manuel confirms it or picks another in review.

Found by sentier-bafu's agent review of pull request #2 (head 5c19866), confirmed again on 0e1f5be. Being fixed on the same branch, first-version.

Activity

  1. added
    bugSomething isn't working
    needs-triageMaintainer needs to evaluate this issue
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageMaintainer needs to evaluate this issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions