Zum Inhalt springen
GET /v1/decode

IEEE 754 bits to number

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/ieee754-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/ieee754-api/v1/decode" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ieee754-api/v1/decode", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ieee754-api/v1/decode");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/ieee754-api/v1/decode",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "hex": "0x40490fdb",
        "bias": 127,
        "bits": 32,
        "sign": 0,
        "value": 3.1415927410125732,
        "binary": {
            "sign": "0",
            "exponent": "10000000",
            "mantissa": "10010010000111111011011"
        },
        "exponent": 1,
        "precision": "single",
        "exponent_raw": 128,
        "mantissa_hex": "0x490fdb",
        "sign_meaning": "positive",
        "classification": "normal"
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:19.219Z",
        "request_id": "ea7fb585-3fbb-4802-9837-9283fe7a926c"
    },
    "status": "ok",
    "message": "IEEE 754 bits to number",
    "success": true
}