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

moonbitlang / core / 6142
91%

Build:
DEFAULT BRANCH: main
Ran 18 Aug 2026 02:08AM UTC
Jobs 1
Files 444
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

18 Aug 2026 02:04AM UTC coverage: 90.859%. Remained the same
6142

push

github

bobzhang
test(builtin): document physical_equal's NaN behavior across backends

`physical_equal` is `%refeq`, which on an unboxed float lowers to an
IEEE-754 value comparison. NaN therefore drags its own non-reflexivity
into it: `physical_equal(nan, nan)` is `false` even when both arguments
are literally the same binding, and NaNs with different bit patterns are
indistinguishable from NaNs with the same one. Boxing restores
reflexivity, because the comparison then never reaches the float.

None of this was written down anywhere, and none of it is guaranteed --
`physical_equal` is documented as a performance hint whose result may
vary by backend and optimization level. So these tests document rather
than specify: they pin the current answers so a backend change shows up
as a visible diff instead of a silent one, and the file header says as
much.

Verified on all four targets (native, js, wasm, wasm-gc). Every case
agrees across all of them, so no per-target expectations or
`options(targets:)` entries are needed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

16192 of 17821 relevant lines covered (90.86%)

333265.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6142.1 18 Aug 2026 02:08AM UTC 445
90.87
GitHub Action Run
Source Files on build 6142
  • Tree
  • List 444
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c8ca0cd6 on github
  • Prev Build on main (#6137)
  • Next Build on main (#6144)
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