G-Node / nix

Neuroscience information exchange format

Home Page:https://readthedocs.org/projects/nixio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deal with double overflows when ndsize_t elements need to be represented

gicmo opened this issue · comments

For example, when accessing elements of a dimension, which is of type ndsize_t/NDSize, calculations can in theory overflow the precision and we thus "lose" information. Currently such situations are silently ignored. The question is how to deal with such cases.

Known occurrences: