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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 22 Oct 2026 04:19AM UTC
Jobs 1
Files 761
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

22 Oct 2026 04:03AM UTC coverage: 87.969% (+0.02%) from 87.95%
39720248990

push

github

web-flow
perf(efloat): exp on a fixed-point series kernel with rectangular splitting (#1789)

exp_working summed its Taylor series in efloat arithmetic: every term a full
multiply, divide and add, each normalizing, merging precisions and rounding.
The exp family ran 2.3-3.3x MPFR.

efloat_detail::exp_fixed (math/exponent.hpp) sums it in fixed point on the mpn
layer: V = floor(v 2^F) in n + 1 64-bit limbs, F = 64 n >= P + 64 + T + 16, no
normalize or rounding inside the series. Smith's rectangular splitting: blocks
of m ~ sqrt(N) terms over a common denominator (addmul_1, one one-limb
division), a Horner scheme over the blocks; exp(-s) by the alternating series
with every partial value positive; h fixed-point squarings back. Halving target
T = 0.4 sqrt(F), the measured optimum 64-8192 bits.

Error 2^(h + 11 - F) <= 2^-(P + 69); measured 33-73 bits inside the declared
bound against MPFR, 24-8192 bits. New elastic/efloat/math/exp_kernel.cpp checks
the bound against a plain efloat Taylor series at 2P + 256 bits; 11 of 12
kernel mutations fail it (the survivor only changes the halving count).

exp vs MPFR: 0.8x / 0.9x / 1.1x / 1.6x at 128 / 512 / 2048 / 8192 bits (was
2.7 / 2.3 / 2.4 / 3.3x); 0.71-1.75x over |r| from 0 to ln 2 / 2 of either sign.
exp2, exp10, expm1, sinh, cosh, tanh take 0.31-0.52 of main's time, pow(b,a)
0.60-0.72, erf/erfc 0.75-0.90. mpfr_check 1 all 8192: 0 wrong; elastic/efloat
gcc and clang pass; ASan/UBSan clean.

Resolves #1788

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

137 of 139 new or added lines in 1 file covered. (98.56%)

53450 of 60760 relevant lines covered (87.97%)

9135923.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.93
0.13% include/sw/universal/number/efloat/math/exponent.hpp
Jobs
ID Job ID Ran Files Coverage
1 39720248990.1 22 Oct 2026 04:19AM UTC 761
87.97
GitHub Action Run
Source Files on build 39720248990
  • Tree
  • List 761
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39720248990
  • 99e5f5c5 on github
  • Prev Build on main (#39713268894)
  • Next Build on main (#39733288701)
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