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

moonbitlang / core / 7025
90%

Build:
DEFAULT BRANCH: main
Ran 13 Oct 2026 03:52AM UTC
Jobs 1
Files 438
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

13 Oct 2026 03:48AM UTC coverage: 89.46%. Remained the same
7025

push

github

web-flow
fix(bigint): size the decimal parse buffer with an upper bound of log2(10) (#4382)

On wasm-gc, `from_string_dec` sized its limb array as `len / DECIMAL_RATIO`
bits with `DECIMAL_RATIO = 0.302`, i.e. about 3.311 bits per digit, below
log2(10) ~ 3.322. Long inputs got too few limbs and the carry out of the
top limb was silently dropped, so runs of nines were misparsed from 3150
digits on (every length from 5983 on).

`DECIMAL_RATIO` must stay an upper bound of log10(2) for `to_string`, so
add a separate `BITS_PER_DECIMAL_DIGIT = 3.322` for parsing and leave the
digit loop unchanged.

Fixes #4345.

Co-authored-by: Zhehao 0xFF <79190965+KCN-judu@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

16738 of 18710 relevant lines covered (89.46%)

380308.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7025.1 13 Oct 2026 03:52AM UTC 438
89.46
GitHub Action Run
Source Files on build 7025
  • Tree
  • List 438
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a951c067 on github
  • Prev Build on main (#7023)
  • Next Build on main (#7028)
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