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

moonbitlang / core / 6876
89%

Build:
DEFAULT BRANCH: main
Ran 28 Sep 2026 03:13AM UTC
Jobs 1
Files 451
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

28 Sep 2026 03:09AM UTC coverage: 89.425%. Remained the same
6876

push

github

bobzhang
fix(builtin): stop native Double::to_uint64 saturating at 2^63

The native implementation clamped at 9223372036854775807 (which rounds
to 2^63 as a Double) and converted the rest with the signed
`%f64_to_i64`, so every input in [2^63, 2^64) returned UInt64 max. js,
wasm and wasm-gc (`%f64.to_u64_saturate`) return the truncated value.

Saturate only at 2^64 and convert the remaining (0, 2^64) range with the
unsigned `UInt64::trunc_double` (`%f64.to_u64`, a plain `(uint64_t)` cast
in the generated C, which is well-defined for that range). Give both
backend files the same doc comment, and run the regression test on every
backend now that they agree.

Signed-off-by: Codex CLI <codex@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

16650 of 18619 relevant lines covered (89.42%)

332178.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6876.1 28 Sep 2026 03:13AM UTC 451
89.42
GitHub Action Run
Source Files on build 6876
  • Tree
  • List 451
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fbd9cc20 on github
  • Prev Build on main (#6875)
  • Next Build on main (#6879)
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