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

moonbitlang / core / 4708
94%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2026 05:58AM 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

17 Jun 2026 05:56AM UTC coverage: 94.254%. Remained the same
4708

push

github

bobzhang
fix(math): make sinh overflow-threshold boundary inclusive

The sinh near-overflow branch used a strict `<` comparison against the
overflow threshold 0x408633ce8fb9f87d (|x| ~= 710.4758600739439). The
fdlibm `e_sinh.c` reference treats this boundary as inclusive: at exactly
the threshold value sinh is still finite (~1.7977e308, just below
DBL_MAX), so it must take the scaled-exp branch rather than fall through
to `x * shuge` and overflow.

Before this fix, sinh(710.4758600739439) returned +/-Infinity, while cosh
at the same point correctly returns a finite value.

Change `<` to `<=`, matching the reference and the analogous cosh branch,
and add a regression test that builds the exact threshold from a Double
hex-float literal (0x1.633ce8fb9f87dp9) so it cannot be weakened by
decimal rounding, covering both signs plus a larger value that must still
overflow.

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

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

15026 of 15942 relevant lines covered (94.25%)

206277.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4708.1 17 Jun 2026 05:58AM UTC 371
94.26
GitHub Action Run
Source Files on build 4708
  • Tree
  • List 370
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4243079c on github
  • Prev Build on main (#4706)
  • Next Build on main (#4712)
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