gonum icon indicating copy to clipboard operation
gonum copied to clipboard

Tests fail on i386 machine with error scalar_test.go:193: expected NaN payload: got:1 want:0

Open pravi opened this issue 2 years ago • 1 comments

=== CONT  TestNaNPayload
    scalar_test.go:193: expected NaN payload: got:1 want:0
    scalar_test.go:196: expected NaN status: got:true want:false
--- FAIL: TestNaNPayload (0.00s)
=== RUN   TestNorm2
    vector_test.go:167: |{4.314500636605634e-196 4.314500636605634e-196}|^2 = 0, want 0
--- FAIL: TestNorm2 (0.00s)

Full log here https://ci.debian.net/data/autopkgtest/testing/i386/g/golang-gonum-v1-gonum/14820204/log.gz

pravi avatar Nov 16 '21 06:11 pravi

I'm afraid there's not enough information here to debug the cause of those failures. The NaNPayload tests don't tell use which test failed (this is my fault) and the basis for the Norm2 test is that it should underflow; without access to the hardware to investigate I'm not sure what we can do. We don't actually have any 386 hardware to run tests on, so we simulate. If you have time work through this I can possibly find time to help you with it.

kortschak avatar Nov 16 '21 07:11 kortschak