Decode bits
decode_bitsDecode binary or hexadecimal bit patterns into a chosen numeric format and get the decimal value plus a full bit-level component breakdown.
Instructions
Decode a binary or hexadecimal bit-pattern into a specified format. Returns the decimal value and full component breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bits | Yes | Bit-pattern as a binary string (e.g. "0100000001001000") or hex string with 0x prefix (e.g. "0x4048"). | |
| format | Yes | Format preset key (e.g. "fp16") or custom format object. |