-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Fix parsing floats panics and bugs #1110
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1110 +/- ##
==========================================
+ Coverage 58.81% 58.82% +0.01%
==========================================
Files 176 176
Lines 12467 12484 +17
==========================================
+ Hits 7332 7344 +12
- Misses 5135 5140 +5
Continue to review full report at Codecov.
|
Test262 conformance changes:
Numbers look nice. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good
Co-authored-by: tofpie <[email protected]>
* Fix parsing float panic * Fix float parsing functions * Fix parseFloat bugs * Fix parseInt and parseFloat bugs * Fix clippy * Add todo comment * Update boa/src/builtins/string/mod.rs Co-authored-by: tofpie <[email protected]> Co-authored-by: tofpie <[email protected]>
This Pull Request fixes/closes #1063 .
It changes the following:
fast_float
to parse float stringparseFloat
,parseInt
, andValue::to_number