mirror of
https://github.com/janet-lang/janet
synced 2025-04-04 22:36:55 +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.