Skip to content
This repository was archived by the owner on Sep 16, 2026. It is now read-only.
This repository was archived by the owner on Sep 16, 2026. It is now read-only.

Product mul test may be inaccurate? #293

Open

Description

@workingjubilee

The product_roundoff() test in src/api/reductions/float_arithmetic.rs reports pretty lousy accuracy: there's a 0~3ulp discrepancy between the two multiplication methods on the f32x8 vector test, at least on some platforms. I unblocked the test for now by widening the amount of acceptable difference from 1ulp, but whatever is going on here should be fixed. It may just be an issue with the way the test is written. It is definitely not a new problem, however, as I only discovered it after clearing out all the other backlogged breakage in the repo, and it only appears to arise on the f32x8 vector test, so this isn't a high priority, as hopefully anyone who actually asks for 8 singles multiplied together knows what they are going to get.

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 workingP-low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions