Implement BigInt asIntN and asUintN methods (#5165)

The following methods were implemented:
- BigInt.asIntN
- BigInt.asUintN

Custom dispatcher also added to builtin_bigint.

The implementation is based on PR #4736, only applied the requested changes.

Co-authored-by: Daniel Batiz batizjob@gmail.com
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
This commit is contained in:
Gergo Csizi
2024-11-22 09:33:08 +01:00
committed by GitHub
parent a7e24fe89a
commit 00d12c0265
8 changed files with 557 additions and 26 deletions
+2
View File
@@ -4,6 +4,8 @@ tests/jerry/bigint6.js
tests/jerry/bigint7.js
tests/jerry/bigint8.js
tests/jerry/bigint9.js
tests/jerry/es.next/bigint-as-int-n.js
tests/jerry/es.next/bigint-as-uint-n.js
tests/jerry/logical-assignment.js
tests/jerry/module-circular-01.mjs
tests/jerry/module-circular-02.mjs