binary.test: nonPortable tests...
Closed / Fixed1246264fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-07-27 19:02:26
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.
kennykb Closed ticket [1246264fff].
[History diff]2005-08-06 01:24:55
kennykb Ticket [1246264fff]: 3 changes
[History diff]2005-08-06 01:24:56
Log in (anonymous is fine) to add a comment.