1
0
mirror of https://github.com/janet-lang/janet synced 2025-03-31 04:26:56 +00:00
Ian Shehadeh 75845c0283 int/to-number: restrict input to JANET_INTMAX/MIN
Previously int/to-number would fail if the input was outside
the range of an int32.
Because Janet numbers are doubles,
they can safely store larger ints than an int32.
This commit updates int/to-number to restrict the
value to the range of integers a double can hold, instead of an int32.
2022-02-21 12:54:38 -05:00
..
2021-05-31 13:46:02 -05:00
2022-01-06 20:38:15 -06:00
2022-01-21 16:44:11 -06:00
2021-05-31 13:46:02 -05:00
2021-05-31 13:46:02 -05:00
2021-05-31 13:46:02 -05:00
2022-01-21 13:02:56 +09:00