Open gapost opened 1 week ago
Indeed, big integers (int/uint64) numbers are not currently supported. They get converted to primitive JS numbers (float64) to avoid errors, which is why you're seeing inaccurate values.
We would definitely like to improve support for big integers, though, so we'll use this issue to report any progress. Thanks!
Describe the bug
64-bit signed and unsigned integers are not always displayed correctly in the h5web display window.
To Reproduce
int64_scalar
datasetDisplay
view on the right panel-9223372036854776000
Expected behaviour
The value returned by
h5dump -d int64_scalar sample.h5
is:-9223372036854775808
Similar happens with uint64: uint64_scalar datatype as shown on h5web window:
18446744073709552000
while h5dump reports:18446744073709551615
Context