Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigInt #175

Open
magicdawn opened this issue Mar 22, 2024 · 2 comments
Open

BigInt #175

magicdawn opened this issue Mar 22, 2024 · 2 comments

Comments

@magicdawn
Copy link
Owner

magicdawn commented Mar 22, 2024

some links

@magicdawn
Copy link
Owner Author

不用 bigint 的后果

console.log(9999999999999999);    // → 10000000000000000

// notice the last digits
9007199254740992 === 9007199254740993;    // → true

@magicdawn
Copy link
Owner Author

sqlite bigint

sqlite3 还不支持 bigint
TryGhost/node-sqlite3#1501

"sqlite3": "juanrgm/node-sqlite3#int64-support"

如果 node-gyp 报错 distutils not found, 使用 pip install setuptools, see nodejs/node-gyp#2869

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant