Skip to content

Issue2677 arsech(10^50 i) row fails intermittently on Windows CI #2765

Backlog

Description

@Rafael-SOWNet

NumericsRegressionTest.Issue2677_APartFarBelowTheRestOfTheValueIsKept failed once on windows-latest and passed on a re-run of the same commit.

  • Run: C# Test 47650373282, attempt 1, on PR Drop a circle of roots of a modulus only when none of its members is a root #2727's head 1d109d0. The failing row was arsech(10^50 * i), expecting a real part of 1.0e-50 and an imaginary part of -1.5707963267948966…. The assertion reported Expected: True, Actual: False: 1 failed, 22433 passed.
  • The same commit passed on ubuntu-latest in the same run, and on windows-latest in attempt 2.
  • Evaluated alone on Linux, arsech(10^50 * i) gives 9.99…95E-51 - 1.5707963267948966… i, which is right.
  • The PR only changed SolveStatement.Verdict and doesn't touch evaluation.

A value that is right in isolation and wrong once under the parallel suite suggests shared state: a [ThreadStatic] precision setting not in force on the thread that evaluates, or a cached decimal computed under another test's context. The row needs about 50 digits more than the default range keeps (1e-50 against 1e+50), so it fails under a narrower context.

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

    No labels
    No labels

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions