From ef4d0e8f3a3e2557c1ea3974b2fe0645591a6ec4 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 27 May 2024 16:56:07 +0200 Subject: [PATCH] Add float16array builtins --- custom/js.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/custom/js.json b/custom/js.json index d27367b41..bbb6ba116 100644 --- a/custom/js.json +++ b/custom/js.json @@ -21,6 +21,11 @@ ] } }, + "DataView": { + "members": { + "instance": ["getFloat16", "setFloat16"] + } + }, "Error": { "members": { "instance": [ @@ -34,12 +39,20 @@ ] } }, + "Float16Error": { + "ctor": {} + }, "Function": { "members": {"instance": ["arguments", "caller", "length"]} }, "InternalError": { "ctor": {} }, + "Math": { + "members": { + "static": ["f16round"] + } + }, "Promise": { "__comment": "Remove when https://tc39.es/proposal-promise-with-resolvers/#sec-promise.withResolvers is merged into the main ECMAScript spec.", "members": {