-
-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic when calling toString with radix (#2863)
This Pull Request fixes/closes #2717 and related to #2479 This was caused by an incorrect to digit conversion. Here are two examples that always cause a panic. They have been added as a test in `number/test.rs` ```js (0.1600057092765239).toString(36) (0.23046743672210102).toString(36) ```
- Loading branch information
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters