-
Notifications
You must be signed in to change notification settings - Fork 172
Improve number->string conversion #242
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
Labels
enhancement
New feature or request
Comments
chqrlie
added a commit
to chqrlie/quickjs-ng
that referenced
this issue
Feb 28, 2024
- fix the conversions for integers and exact fractions - approximate approach for other cases. - bypass floating point conversions for JS_TAG_INT values - avoid divisions for base 10 integer conversions - fixes quickjs-ng#242
chqrlie
added a commit
to chqrlie/quickjs-ng
that referenced
this issue
Feb 28, 2024
- fix the conversions for integers and exact fractions - approximate approach for other cases. - bypass floating point conversions for JS_TAG_INT values - avoid divisions for base 10 integer conversions - fixes quickjs-ng#242
chqrlie
added a commit
to chqrlie/quickjs-ng
that referenced
this issue
Feb 28, 2024
- fix the conversions for integers and exact fractions - approximate approach for other cases. - bypass floating point conversions for JS_TAG_INT values - avoid divisions for base 10 integer conversions - fixes quickjs-ng#242
chqrlie
added a commit
to chqrlie/quickjs-ng
that referenced
this issue
Mar 1, 2024
- fix the conversions for integers and exact fractions - approximate approach for other cases. - bypass floating point conversions for JS_TAG_INT values - avoid divisions for base 10 integer conversions - fixes quickjs-ng#242
bnoordhuis
pushed a commit
that referenced
this issue
Mar 1, 2024
- fix the conversions for integers and exact fractions - approximate approach for other cases. - bypass floating point conversions for JS_TAG_INT values - avoid divisions for base 10 integer conversions Fixes: #242
bluesky950520
pushed a commit
to bluesky950520/quickjs
that referenced
this issue
Mar 14, 2025
- fix the conversions for integers and exact fractions - approximate approach for other cases. - bypass floating point conversions for JS_TAG_INT values - avoid divisions for base 10 integer conversions Fixes: quickjs-ng/quickjs#242
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The results from test262/implementation-contributed/v8/mjsunit/number-tostring.js suggest there is room for improvement:
run as:
The text was updated successfully, but these errors were encountered: