octave:2> test keyHash
***** test
A = uint64(128);
E = uint64(8038837787959150693);
key = keyHash (A);
assert (isequal(key, E), sprintf("k: %lx e: %lx d: %lx", key, E, key - E));
assert (key, E);
!!!!! test failed
k: 39c37805f8f12165 e: 6f8fb060664ac865 d: 0
This has been reported in bug #1133123, filed against the Debian's octave-datatype package. At least one of the unit tests in
keyHash.mfails on big endian systems. For instance, on a s390x system: