ieee754_convert
Convert floating-point numbers to and from IEEE 754 binary/hex, decomposing into sign, exponent, and mantissa.
Instructions
Converts and decomposes between Float/Double numbers and IEEE 754 binary/hex layout (Sign, Exponent, Mantissa). For several operations or chained steps in one call, use batch_calc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"value": "<value>"
},
"name": "ieee754_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Float number (e.g. 3.14159) or Hex representation (e.g. '0x3f800000', '0x400921fb54442d18') | |
| precision | No | Precision layout to analyze ('float32', 'float64', or 'both') | both |