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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 16 Jun 2026 05:09PM UTC
Jobs 1
Files 677
Run time 2min
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 04:29PM UTC coverage: 84.599% (+0.03%) from 84.574%
27632534737

push

github

web-flow
feat(elreal): online streaming exp/sin/cos Taylor series (#1061 Phase 3b) (#1077)

* feat(elreal): online streaming exp/sin/cos Taylor series (#1061 Phase 3b)

Second Phase 3b increment, after odd_power_series (#1075). exp, sin_series and
cos_series were eager (Phase 3a made their coefficients exact but still computed
every term to full working depth + a batch sum). Rewrite them over the streaming
infSum with significance-windowed lazy terms (take_while_above from #1075), the
same pattern proven for odd_power_series:
- exp_term_stream:    term_n = term_{n-1} * xr / n  (exact div by n)
- sincos_term_stream: term_{n+1} = term_n * (-t^2) / (a*(a+1))  -- shared by sin
  (a=2,4,...) and cos (a=1,3,...); alternating terms fold through infSum's carry-arrest.

Spike: 111x faster for exp at depth 20. The payoff that matters: the LEVEL_4
high-precision transcendental identity suite (#1049), which TIMED OUT (>10min)
under the eager series and so never actually ran in Phase 3a, now COMPLETES in
~44s -- 22 of its 24 identities pass at 305-320 digits.

The remaining two -- sin(asin(0.5))==0.5 and cos(acos(0.5))==0.5 -- cap at ~234
digits. This is PRE-EXISTING (eager sin/cos give an identical ~239; asin itself is
320-digit accurate): sin/cos lose precision on a high-precision multi-block argument
near pi/6. Filed as #1076 and gated behind ELREAL_SINCOS_ROUNDTRIP_HIGH_PRECISION 0;
exposed only now that the suite is fast enough to reach them.

exp/sin/cos reach 306/306/307 digits at depth 20 (vs eager's 309/311 -- a 3-digit
margin difference, well above the 300 bar). Value-identical otherwise, 0-overlap
canonical. PASS on gcc + clang (Release) and gcc Debug with assertions on;
basic exp/trig/hyperbolic suites green; LEVEL_4 suite green.

Remaining in Phase 3b: euler_gamma's eager mul(w_k,H_k) loop.

Relates to #1061, #1049

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

* fix(elreal): flatten duplicate namespace detail in trigonometry.hpp (#1061... (continued)

26 of 26 new or added lines in 2 files covered. (100.0%)

47839 of 56548 relevant lines covered (84.6%)

6764450.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27632534737.1 16 Jun 2026 05:09PM UTC 677
84.6
GitHub Action Run
Source Files on build 27632534737
  • Tree
  • List 677
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27632534737
  • ae39fe0e on github
  • Prev Build on main (#27621119076)
  • Next Build on main (#27655383319)
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