You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
, #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
…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
Follow-up to #2751 (PR #3635)
Compatibility: align with other engines' implementation here.
See @littledan's comment #2751 (comment)
/cc @xiaoyinl @littledan @bterlson
The text was updated successfully, but these errors were encountered: