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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-2128-lns-correct-rounding
DEFAULT BRANCH: master
Ran 18 Oct 2026 01:05AM UTC
Jobs 1
Files 742
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

18 Oct 2026 12:49AM UTC coverage: 86.84% (-0.004%) from 86.844%
39084180568

push

github

web-flow
fix(dd_cascade): exp is finite up to ln(DBL_MAX) and nonzero down to ln(2^-1075) (#1721)

exp of dd_cascade, td_cascade and qd_cascade cut off at +-709.0: +inf
for every x >= 709.0 and 0 for every x <= -709.0, although e^x is finite
up to ln(DBL_MAX) = 709.78 and rounds to 0 only below ln(2^-1075) =
-745.13. The classic dd and qd were fixed in #581; the cascades were not.

The bounds are now 709.8 and -745.2 in all three. The reduction
x - m ln 2 and the final ldexp(s, m) already handle m up to 1024 and
down to -1075, and a value past DBL_MAX overflows to +inf in the scaling.

static/highprecision/{dd,td,qd}_cascade/math/exp_range.cpp check 55
points around both thresholds against
tools/generators/cascade_exp_range_gen.py (mpmath, 700 bits): +inf past
DBL_MAX, exactly 0 where the reference is 0 and a positive subnormal
within one ulp where it is not, and the relative error in between
(2^-96 dd, 2^-148 td, 2^-200 qd). On the old headers each type fails
36 of the checks.

Resolves #1709

BEHAVIOUR-CHANGE: dd_cascade/td_cascade/qd_cascade exp(x) is finite for 709.0 <= x < 709.78 (was +inf) and nonzero for -745.13 < x <= -709.0 (was 0)

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

28 of 32 new or added lines in 4 files covered. (87.5%)

2 existing lines in 1 file now uncovered.

50109 of 57703 relevant lines covered (86.84%)

10376341.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
84.62
include/sw/universal/verification/cascade_exp_range.hpp

Coverage Regressions

Lines Coverage ∆ File
2
96.7
-0.13% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 39084180568.1 18 Oct 2026 01:05AM UTC 742
86.84
GitHub Action Run
Source Files on build 39084180568
  • Tree
  • List 742
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39084180568
  • dadf89c4 on github
  • Prev Build on main (#39075971968)
  • Next Build on main (#39087829795)
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