Elliptic lists do not support arbitrary precision integers (from gforge #21658)
Imported issue: Initially reported by @chevilla in https://gforge.inria.fr/tracker/?group_id=1015&aid=21658
When trying to do a list of integers with the elliptic construction, we get an error when the integers are not representable on 32bit integers.
Example:
1b60;
1152921504606846976
[|1152921504606846976,...,1152921504606846978|];
Warning: the given expression does not evaluate to a machine integer.
Will round it to the nearest machine integer.
Warning: the given expression does not evaluate to a machine integer.
Will round it to the nearest machine integer.
Warning: at least one of the given expressions or a subexpression is not correctly typed
or its evaluation has failed because of some error on a side-effect.
error
For some reason I do not really understands, some time one does not get an error object, but a list with INT32_MAX as only element:
[|17725587574382949699,...,17725587574382949701|];
Warning: the given expression does not evaluate to a machine integer.
Will round it to the nearest machine integer.
Warning: the given expression does not evaluate to a machine integer.
Will round it to the nearest machine integer.
[|2147483647|]
It is not explictly specified in the documentation that the integers in an elliptic list shall be 32-bit integers, and anyway, I see no reasonable reason why it should be specified that way. IMHO we should support lists of arbitrary precision integers.