base_repr
Convert a number to another base representation, supporting custom width, two's complement, and signed-overflow detection.
Instructions
hex/oct/bin of N; with WIDTH, two's complement and signed-overflow
detection. base_repr(3000000000, 32) says plainly it does not fit i32.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| width | No |