int_widths
Check which integer widths (i8 to i64, u8 to u64) accommodate a number, show the wrapped value when they overflow, and flag values over 2^53 for JS/JSON round-trip issues.
Instructions
Which widths (i8..i64/u8..u64) hold N, and the wrapped value where they
do not. Flags anything past 2^53 as unable to round-trip through a JS
number or JSON float. int_widths(3000000000) shows the i32 wrap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||