feat: num-bigint 接入任意精度 BigInt(字面量、算术、toString、asIntN/asUintN)

This commit is contained in:
2026-08-12 03:15:18 +08:00
parent 4474702735
commit 1824ef0df1
18 changed files with 227 additions and 212 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ use crate::opcode::{self, OpCode};
pub enum Constant {
Number(f64),
Int(i32),
BigInt(i128),
BigInt(num_bigint::BigInt),
String(String),
Boolean(bool),
Null,