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

moonbitlang / core / 4528
94%

Build:
DEFAULT BRANCH: main
Ran 29 May 2026 04:16AM UTC
Jobs 1
Files 370
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

29 May 2026 04:15AM UTC coverage: 93.99% (+0.001%) from 93.989%
4528

push

github

web-flow
refactor(bigint): functional loop for leading-zero scan in from_string (#3638)

The leading-zero scan in `from_string_radix_pow2` used a `mut first`
threaded through a `while` loop and read out afterward. Carry it as a
functional `for first = start { ... continue first + 1 ... break first }`
loop instead, matching the loop style already used in this file
(e.g. the digit-accumulation loops). Behavior is unchanged: `first`
ends on the first significant digit (or `len` for an all-zeros input).

Add a regression test covering the scan's boundary cases across the
power-of-2 radix path: all-zeros (incl. negative-signed) normalizing to
0, leading zeros before a value, leading zeros spanning more than one
limb, and a single significant digit after a long zero run.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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

14919 of 15873 relevant lines covered (93.99%)

207056.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4528.1 29 May 2026 04:16AM UTC 371
94.0
GitHub Action Run
Source Files on build 4528
  • Tree
  • List 370
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6c078e85 on github
  • Prev Build on main (#4526)
  • Next Build on main (#4536)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc