Skip to content

Conversation

@bnoordhuis
Copy link
Collaborator

Numbers outside the range that double-precision floating-point numbers can represent exactly are now converted to JS BigInts instead of being rejected outright. Said range corresponds to Number.MIN_SAFE_INTEGER and Number.MAX_SAFE_INTEGER on the JS side.

Refs: #348

Numbers outside the range that double-precision floating-point numbers
can represent exactly are now converted to JS BigInts instead of being
rejected outright. Said range corresponds to `Number.MIN_SAFE_INTEGER`
and `Number.MAX_SAFE_INTEGER` on the JS side.

Refs: rubyjs#348
@SamSaffron SamSaffron merged commit adb2ccc into rubyjs:main Apr 10, 2025
24 of 32 checks passed
@SamSaffron
Copy link
Collaborator

Thanks Ben!

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

Successfully merging this pull request may close these issues.

2 participants