Closed lorenzo-stoakes closed 6 years ago
Merging #55 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #55 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 30 30
Lines 3537 3537
=====================================
Hits 3537 3537
Impacted Files | Coverage Δ | |
---|---|---|
decode_number_float.go | 100% <100%> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 71c0966...2aae61b. Read the comment docs.
Merged, thanks
Previously, floating point numbers of the form -0.1234..., i.e. those with a 0 significand would result in a 'wrong char' error.
These are valid numbers in JSON under RFC 4627 so we should support them. This patch adds this support and a test for both float64 and float32.