Z28866

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z28866"
    },
    "Z2K2": {
        "Z1K1": "Z64",
        "Z64K1": "Z28866",
        "Z64K2": "Z20838",
        "Z64K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z600",
            "Z16K2": "function Z28866( Z28866K1 ) {\n\tfunction value( positive, exponent, mantisse, special ) {\n\t\treturn {\n\t\t\t\"Z1K1\": {\n\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\"Z9K1\": \"Z20838\"\n\t\t\t},\n\t\t\t\"Z20838K1\": {\n\t\t\t\t\"Z1K1\": {\n\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\"Z9K1\": \"Z16659\"\n\t\t\t\t},\n\t\t\t\t\"Z16659K1\": {\n\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\"Z9K1\": positive ? \"Z16660\" : \"Z16662\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"Z20838K2\": {\n\t\t\t\t\"Z1K1\": {\n\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\"Z9K1\": \"Z16683\"\n\t\t\t\t},\n\t\t\t\t\"Z16683K1\": {\n\t\t\t\t\t\"Z1K1\": {\n\t\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\t\"Z9K1\": \"Z16659\"\n\t\t\t\t\t},\n\t\t\t\t\t\"Z16659K1\": {\n\t\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\t\"Z9K1\": ( exponent \u003C 0 ) ? \"Z16662\" : ( exponent === 0 ) ? \"Z16661\" : \"Z16660\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"Z16683K2\": {\n\t\t\t\t\t\"Z1K1\": {\n\t\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\t\"Z9K1\": \"Z13518\"\n\t\t\t\t\t},\n\t\t\t\t\t\"Z13518K1\": {\n\t\t\t\t\t\t\"Z1K1\": \"Z6\",\n\t\t\t\t\t\t\"Z6K1\": Math.abs( exponent ).toString()\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"Z20838K3\": {\n\t\t\t\t\"Z1K1\": {\n\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\"Z9K1\": \"Z13518\"\n\t\t\t\t},\n\t\t\t\t\"Z13518K1\": {\n\t\t\t\t\t\"Z1K1\": \"Z6\",\n\t\t\t\t\t\"Z6K1\": mantisse.toString()\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"Z20838K4\": {\n\t\t\t\t\"Z1K1\": {\n\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\"Z9K1\": \"Z20825\"\n\t\t\t\t},\n\t\t\t\t\"Z20825K1\": {\n\t\t\t\t\t\"Z1K1\": \"Z9\",\n\t\t\t\t\t\"Z9K1\": special\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n\tif ( Number.isNaN( Z28866K1 ) ) {\n\t\treturn value( true, 1024, (2n**52n)-1n, \"Z20834\" );\n\t}\n\tif ( Z28866K1 === Number.POSITIVE_INFINITY ) {\n\t\treturn value( true, 1024, 0n, \"Z20832\" );\n\t}\n\tif ( Z28866K1 === Number.NEGATIVE_INFINITY ) {\n\t\treturn value( false, 1024, 0n, \"Z20833\" );\n\t}\n\tif ( Object.is( Z28866K1, -0)) {\n\t\treturn value( false, -1023, 0n, \"Z20831\" );\t\n\t}\n\tif ( Z28866K1 === 0 ) {\n\t\treturn value( true, -1023, 0n, \"Z20829\" );\t\n\t}\n\tconst positive = Z28866K1 \u003E= 0;\n\tconst absval = positive ? Z28866K1 : -Z28866K1;\n\t\n\t// Convert to a JavaScript Number\n    const buffer = new ArrayBuffer(8);\n    const view = new DataView(buffer);\n    view.setFloat64(0, absval, false);\n    const i = view.getBigUint64(0, false);\n\n\tconst rawExp = (i \u003E\u003E 52n) \u0026 0x7FFn;\n\tconst mantisse = i % (2n ** 52n);\n\n\tlet exponent;\n\n\tif (rawExp === 0n) {\n\t\t// subnormal: exponent fixed at -1023\n\t\texponent = -1023;\n\t} else {\n\t\texponent = Number(rawExp - 1023n);\n\t}\n\n\treturn value(positive, exponent, mantisse, \"Z20837\");\n}"
        },
        "Z64K4": "number"
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "JS converter to float64 with subnormals"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}