mirror of
https://github.com/janet-lang/janet
synced 2025-06-06 00:24:13 +00:00

(int/to-number value) converts an s64 or u64 to a number. It restricts the value to the int32 range, so that `int32?` will always suceeded when called on the result.