Convert between decimal, binary, octal, and hexadecimal. Supports arbitrarily large numbers via BigInt.