• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moonbitlang / core / 6070
91%

Build:
DEFAULT BRANCH: main
Ran 15 Aug 2026 03:07AM UTC
Jobs 1
Files 437
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Aug 2026 03:05AM UTC coverage: 90.665% (-0.001%) from 90.666%
6070

push

github

bobzhang
fix(json): preserve the sign of -0 in the integer fast path

Fixes #4053.

parse("-0") returned +0.0 while parse("-0.0") / parse("-0e0") returned
-0.0: the safe-integer fast path in lex_number_end negated the mantissa
as an Int64 (where -0 == 0) before converting to Double. Negate after
the conversion so every spelling of negative zero keeps the IEEE-754
sign bit, per RFC 8259 number semantics. The conversion-then-negation
is exact for the whole safe-integer range.

Deterministic regression tests in lex_number_test.mbt cover every
spelling of negative zero, including values that underflow to zero
(which already preserved the sign).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

15997 of 17644 relevant lines covered (90.67%)

151322.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6070.1 15 Aug 2026 03:07AM UTC 438
90.68
GitHub Action Run
Source Files on build 6070
  • Tree
  • List 437
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e4a037e9 on github
  • Prev Build on main (#6062)
  • Next Build on main (#6074)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc