dgpcurious about the "nonPortable" tests in binary.test
[14:51]dgpNaN formatting?
[14:54]kbk14.12 is crap. That value isn't the
canonical NaN, which will be either 7ff4 (PA-RISC) or
7ff8 (everything else).
[14:55]kbk40.1 should be portable but, but the
comment is wrong - it's NaN, not overflow.
[14:55]dgp---- Result was:
1 -NaN(7ffffe0000000)
---- Result should have been (exact matching):
1 -NaN
==== binary-40.1 FAILED
[14:56]kbkOK, OK, 40.1 isn't right. In fact, the NaN
that it returns is the right one.
[14:56]kbk40.3 is exactly the same test, which isn't
endianity-dependent.
[14:57]kbkLikewise, 40.4 and 40.6 appear to be the
same test, again not endianity dependent, but they're
looking for -NaN(7ffffffffffff) rather than the
canonical NaN.
|