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

moonbitlang / core / 6620
89%

Build:
DEFAULT BRANCH: main
Ran 12 Sep 2026 06:53AM UTC
Jobs 1
Files 448
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

12 Sep 2026 06:51AM UTC coverage: 89.314%. Remained the same
6620

push

github

web-flow
math: return 1 for pow(1, NaN) and pow(±1, ±inf) per IEEE 754 (#4219)

* math: return 1 for pow(1, NaN) and pow(+-1, +-inf) per IEEE 754

IEEE 754-2019 section 9.2.1 / C99 Annex F.9.4.4 specify pow(1, y) = 1
for any y (even a NaN) and pow(-1, +-inf) = 1. The Double pow returned
NaN for these on every backend (fdlibm NaN check first; the js backend
delegates to ECMAScript Math.pow), diverging from its own doc comment
and from powf, which already implements the IEEE behaviour.

Align the non-js fdlibm port and wrap the js FFI with the unit-base
special cases. pow(-1, NaN) is unspecified by the standard and stays
NaN. The quickcheck special-value suite is flipped to the IEEE
behaviour as suggested in #4059.

* math: remove unreachable pow unit-base infinity branch

---------

Co-authored-by: Hongbo Zhang <bobzhang1988@gmail.com>

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

16441 of 18408 relevant lines covered (89.31%)

273252.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6620.1 12 Sep 2026 06:53AM UTC 449
89.33
GitHub Action Run
Source Files on build 6620
  • Tree
  • List 448
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 949193e8 on github
  • Prev Build on main (#6617)
  • Next Build on main (#6631)
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