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

Follow-up #2751: For Number#toString with a radix other than 10, never switch to exponential display #3739

Closed
dilijev opened this issue Sep 15, 2017 · 2 comments

Comments

@dilijev
Copy link
Contributor

dilijev commented Sep 15, 2017

Follow-up to #2751 (PR #3635)

Compatibility: align with other engines' implementation here.

See @littledan's comment #2751 (comment)

/cc @xiaoyinl @littledan @bterlson

@dilijev dilijev added this to the Backlog milestone Sep 15, 2017
@dilijev dilijev changed the title For Number#toString with a radix other than 10, never switch to exponential display Follow-up #2751: For Number#toString with a radix other than 10, never switch to exponential display Sep 15, 2017
@xiaoyinl
Copy link
Contributor

I'd like to work on this issue.

@dilijev
Copy link
Contributor Author

dilijev commented Sep 15, 2017

@xiaoyinl thanks!

chakrabot pushed a commit that referenced this issue Oct 21, 2017
, #3740)

Merge pull request #3742 from xiaoyinl:never_use_exp

Other engines (SpiderMonkey, JSC and V8) never use exponential display for num.toString(radix) if radix is not 10, no matter how large num is. This PR updates the code and the test cases to match that behavior.

This PR fixes #3739 and fixes #3740.

See also: #2751, #3635.

/cc @dilijev @littledan @bterlson
chakrabot pushed a commit that referenced this issue Oct 21, 2017
…ot 10 (Fix #3739, #3740)

Merge pull request #3742 from xiaoyinl:never_use_exp

Other engines (SpiderMonkey, JSC and V8) never use exponential display for num.toString(radix) if radix is not 10, no matter how large num is. This PR updates the code and the test cases to match that behavior.

This PR fixes #3739 and fixes #3740.

See also: #2751, #3635.

/cc @dilijev @littledan @bterlson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants