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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 21 Oct 2026 04:04PM UTC
Jobs 1
Files 760
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

21 Oct 2026 03:44PM UTC coverage: 87.779% (+0.05%) from 87.728%
39628503859

push

github

web-flow
feat(efloat): exp, exp2, exp10, expm1, sinh, cosh and pow hold results out to 2^(2^62) (#1777)

exp returned inf or 0 for |x| >= 2^17, although efloat's int64_t exponent
holds e^x out to x ~ 2^62 ln 2: ln 2 was carried at the working precision,
so k ln 2 spent bit_width(k) guard bits and the cap kept k below 2^18.

ln 2 now carries 64 more bits (one width, so the cache never widens with
k), r is rounded back to the working precision, and past 2^52 the double
estimate of k is corrected once. exp_beyond_range(x, log2 b) is the single
range test, |x log2 b| >= 2^62, for exp, exp2, exp10, expm1, sinh, cosh and
pow; pow's integer powering stops at |y log x| < 2^61 and its exact powers
at n (|scale(x)| + 1) < 2^62, so no exponent overflows.

The api demonstration gains three cases the cap returned as 0 or inf: the
likelihood of 1e6 normal samples, a Chernoff tail bound at n = 1e7, and
100000! and Gamma(100001.5) by the Stirling series, each checked against a
second route. VerifyBeyondDoubleRange checks the family from 2^17 to 2^62,
and just inside the boundary (exp and expm1 at +-(2^62 ln 2 - 2^40)),
in every mode against exp(x / 2^j)^(2^j) at 768 bits, exp2(k + 1/2) exactly,
exp_working's error bound, and inf/0 plus flags past the range; main fails
it 608 times. 0 wrong of 23k results against MPFR with its exponent range
raised to the maximum; speed at ordinary arguments unchanged.

Relates to #1763

BEHAVIOUR-CHANGE: efloat exp, exp2, exp10, expm1, sinh, cosh and pow return finite, correctly rounded results out to |x log2 b| < 2^62 instead of inf or 0 (with Overflow/Underflow) once |x| >= 2^17, e.g. exp(131072) = 2^189096.6 and exp(-200000) = 2^-288539


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

24 of 24 new or added lines in 3 files covered. (100.0%)

52777 of 60125 relevant lines covered (87.78%)

9214997.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39628503859.1 21 Oct 2026 04:04PM UTC 760
87.78
GitHub Action Run
Source Files on build 39628503859
  • Tree
  • List 760
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39628503859
  • 237cc4ce on github
  • Prev Build on main (#39589026109)
  • Next Build on main (#39646982344)
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