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

stillwater-sc / universal / 27655383319
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 17 Jun 2026 12:19AM UTC
Jobs 1
Files 677
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

16 Jun 2026 11:38PM UTC coverage: 84.578% (-0.02%) from 84.599%
27655383319

push

github

web-flow
feat(elreal): window euler_gamma's A-accumulation over online mul (#1061 Phase 3b) (#1078)

Last eager hot loop in Phase 3b. euler_gamma's Brent-McMillan inner loop spent
nearly all its time in fold(A, mul(w_k, H_k)) -- a full eager product per term
(~2n terms). Unlike a monotone series, w_k = (n^k/k!)^2 GROWS to a peak at k=n
then decays, so windowing against a running peak would only help the tail.

Two-pass instead: a cheap scalar pre-pass finds the GLOBAL peak exponent of w_k,
then the accumulation pulls each w_k*H_k product (now mul_online) only down to
A's significance floor (peakExp - cap*k). Products whose blocks all sit below
that floor -- the tiny early terms AND the decaying tail -- contribute nothing
and are skipped; only the ~sqrt(n) terms near the peak are multiplied in full.

Builds on #1075's take_while_above + the online mul/div. The ln(n) half of the
old cost wall (#1053: ~107s of eager ln2) already vanished when odd_power_series
went online (#1075).

Measured (double host), value-identical (matches s_euler_gamma):
  depth 12: 61s -> 6.5s   (9.4x)
  depth 20: ~300s -> 12.2s, 305 digits (>= the 300 bar)
  constants_highprecision LEVEL_4 suite: now PASSes in ~34s

PASS on gcc + clang (Release) and gcc Debug with assertions on; basic constants
and LEVEL_4 constants suites green.

With this, every elreal series/constant hot loop (odd_power_series #1075,
exp/sin/cos #1077, euler_gamma here) is online. Remaining Phase 3b polish: the
scalar w-recurrence and B-fold stay eager (cheap), and #1076 (sin/cos
multi-block-argument precision).

Relates to #1061, #1053

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

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

15 existing lines in 3 files now uncovered.

47835 of 56557 relevant lines covered (84.58%)

6763580.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
31.43
-3.57% include/sw/universal/verification/test_suite_randoms.hpp
3
80.58
-0.67% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
2
89.78
0.0% include/sw/universal/number/posito/posito_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 27655383319.1 17 Jun 2026 12:19AM UTC 677
84.58
GitHub Action Run
Source Files on build 27655383319
  • Tree
  • List 677
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27655383319
  • 321409d6 on github
  • Prev Build on main (#27632534737)
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