1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-26 07:03:16 +00:00
janet/test
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
..
amalg Update copyright dates. 2021-05-31 13:46:02 -05:00
fuzzers Make janet_equals and janet_compare non recursive 2020-04-24 16:18:31 -05:00
helper.janet Tweaks on redef feature branch. 2022-01-06 20:38:15 -06:00
suite0001.janet test nested '& destructure and empty rest array 2022-01-20 08:54:56 -05:00
suite0002.janet Update copyright dates. 2021-05-31 13:46:02 -05:00
suite0003.janet Update copyright dates. 2021-05-31 13:46:02 -05:00
suite0004.janet Update copyright dates. 2021-05-31 13:46:02 -05:00
suite0005.janet Fix fiber aware combinators to use general iteration instead of fiber 2021-08-06 16:17:47 -05:00
suite0006.janet int/to-number: restrict input to JANET_INTMAX/MIN 2022-02-21 12:54:38 -05:00
suite0007.janet Support using functions with :out dynamic binding 2021-11-13 01:42:44 +09:00
suite0008.janet add support for & _ to match macro 2022-01-19 13:29:34 -05:00
suite0009.janet Consolidate related tests 2022-01-21 13:02:56 +09:00
suite0010.janet Add test case for missing struct proto 2021-11-23 23:17:24 -06:00
suite0011.janet Fix #919 - strange quasiquote behavior. 2022-02-09 20:31:10 -06:00
suite0000.janet Fix formating on master. 2022-01-21 16:44:11 -06:00