ekmett / ekmett/half

Test failure with 0.3.1 on aarch64

Open
#35 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
18
Forks
9
PR merge metrics
No merged PRs in 30d

Description

```
Test suite spec: RUNNING...
Half Ord instance:
(>=) is the opposite of (<) except for NaN: [OK, passed 100 tests]
returns False for NaN > NaN: [OK, passed 1 tests]
returns False for NaN < NaN: [OK, passed 1 tests]
Round trip:
should round trip properly: [OK, passed 100 tests]
idempotence 1: [OK, passed 100 tests]
idempotence 2: [OK, passed 100 tests]
isInfinite:
should be equivalent to \x -> x == POS_INF || x == NEG_INF: [OK, passed 100 tests]
should return True on POS_INF: [OK, passed 1 tests]
should return True on NEG_INF: [OK, passed 1 tests]
should return false on QNaN: [OK, passed 1 tests]
should return false on SNaN: [OK, passed 1 tests]
Patterns:
QNaN: [OK, passed 1 tests]
SNaN: [OK, passed 1 tests]
POS_INF: [OK, passed 1 tests]
NEG_INF: [OK, passed 1 tests]
Native fromHalf against C version:
for full CUShort range, both version of fromHalf should return same Float: [OK, passed 1 tests]
Native toHalf against C version:
for selected range of Float, both version of toHalf should return same Half: [Failed]
*** Failed! Falsified (after 1 test and 18 shrinks):
FloatList [NaN]
[(32256,65024,NaN,False)]
(used seed 2203385162751120606)
Binary:
Binary round trip a: [OK, passed 100 tests]
Binary round trip b: [OK, passed 100 tests]
Binary encoding example: [OK, passed 1 tests]

Properties Total
Passed 19 19
Failed 1 1
Total 20 20
Test suite spec: FAIL
Test suite logged to: dist/test/half-0.3.1-spec.log
0 of 1 test suites (0 of 1 test cases) passed.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.