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

stillwater-sc / universal / 39867576832
89%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 22 Oct 2026 11:08PM UTC
Jobs 1
Files 761
Run time 3min
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

22 Oct 2026 10:48PM UTC coverage: 87.986% (+0.01%) from 87.973%
39867576832

push

github

web-flow
perf(efloat): atan, asin, acos, atan2 on the fixed-point series engine (#1794)

* perf(efloat): atan, asin, acos, atan2 on the fixed-point series engine

atan_working summed a - a^3/3 + ... term by term in efloat after halving
the argument sqrt(W/10) + 1 times (29 at 8192 bits); halvings and terms
were each about half its time. Now:

- fixed_series::arctangent_series sums S(z) = 1 - z/3 + z^2/5 - ... with
  atan(y) = y S(z), z = y^2, in fixed point by rectangular splitting. The
  divisors 2k + 1 do not chain, so a block is summed in groups whose
  divisor product fits in a limb (one multiplication by a limb per term,
  one division per group) and the Horner step multiplies by z^m alone.
  Tapering as in exp. S lies in (0.9, 1], so tiny y keeps its relative
  precision.
- With a cheap series, far fewer halvings pay: T = 0.08 sqrt(W), at least
  2, block length 0.7 sqrt(N), both measured by sweep (flat optimum).

mpfr_gap, efloat / MPFR, 128 / 512 / 2048 / 8192 bits:
  atan   1.5 1.1 1.7 3.0x  ->  0.7 0.4 0.7 1.0x
  asin   1.5 1.0 1.7 3.1x  ->  0.8 0.5 0.8 1.1x
  acos   1.3 0.9 1.7 3.0x  ->  0.6 0.4 0.7 1.0x
  atan2  1.5 0.9 1.6 3.1x  ->  0.6 0.4 0.6 1.0x

atan_working stays 21-46 bits inside inverse_trig_error_bits (main:
19.5-27). New test elastic/efloat/math/atan_kernel.cpp checks the bound
for all four *_working functions against Euler's series at 3P + 256 bits.

Resolves #1792

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(efloat): key the mathlib history rows on PR numbers and merge dates

Rows for #1783, #1786, #1788, #1790 and #1792 named the issue, in a column
of PR numbers; three also carried the issue's date instead of the merge's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

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

1 existing line in 1 file now uncovered.

53558 of 60871 relevant lines covered (87.99%)

9247653.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
97.04
0.0% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 39867576832.1 22 Oct 2026 11:08PM UTC 761
87.99
GitHub Action Run
Source Files on build 39867576832
  • Tree
  • List 761
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39867576832
  • 4a4e692b on github
  • Prev Build on main (#39784060943)
  • Next Build on main (#39877997506)
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