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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 01 Nov 2026 02:42PM UTC
Jobs 1
Files 772
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

01 Nov 2026 02:19PM UTC coverage: 88.451% (+0.04%) from 88.411%
41315638642

push

github

web-flow
fix(dd): one set of numeric_limits traits and special values for the multi-double types (#1890)

* fix(dd): one set of numeric_limits traits and special values for the multi-double types

dd, qd, dd_cascade, td_cascade and qd_cascade now agree on the numeric_limits
traits and on how the special values are laid out across limbs.

Traits (#1888): all five report has_denorm = denorm_present, has_denorm_loss as
double's, is_bounded = true and round_style = round_to_nearest. dd and qd said
denorm_absent, unbounded and round_toward_zero. Below min() the low limbs go
subnormal and then underflow, so precision falls off gradually down to
denorm_min(). Every type has a finite max() since #1887, and each limb
operation rounds to nearest. The cascades said has_denorm_loss = true.

Special values (#1889): numeric_limits infinity(), quiet_NaN() and
signaling_NaN() of the three cascades are built from SpecificValue. That puts
the code in the leading limb and zeros in the rest, as setinf()/setnan() do
and as dd and qd already did. dd_cascade and qd_cascade had the special value
in every limb.

Addition (#1889): the cascades' + and - returned NaN for any infinite operand,
whatever its limb layout: the error-free sums computed inf - inf. A new
expansion_ops::add_nonfinite() returns the sum of the leading limbs, with a zero
tail, when that sum is not finite, as dd and qd do. It is called from
dd_cascade, td_cascade and qd_cascade += and -=, and from floatcascade<N>::+=.
inf + 1 is inf, inf - inf is NaN, and an overflowing sum is (inf, 0, ...).

static/highprecision/dd/api/numeric_limits.cpp checks the traits at compile
time and at run time, and checks the special values limb by limb against
SpecificValue and through addition, subtraction and multiplication.

BEHAVIOUR-CHANGE: numeric_limits of dd and qd now report denorm_present, is_bounded and round_to_nearest (was denorm_absent, unbounded, round_toward_zero), so generic code that picks minpos from has_denorm now uses... (continued)

45 of 46 new or added lines in 5 files covered. (97.83%)

5 existing lines in 3 files now uncovered.

56014 of 63328 relevant lines covered (88.45%)

8862218.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
84.69
0.63% include/sw/universal/internal/floatcascade/floatcascade.hpp

Coverage Regressions

Lines Coverage ∆ File
2
96.91
-0.13% include/sw/universal/number/cfloat/cfloat_impl.hpp
2
34.7
-0.63% include/sw/universal/verification/test_suite_randoms.hpp
1
84.69
0.63% include/sw/universal/internal/floatcascade/floatcascade.hpp
Jobs
ID Job ID Ran Files Coverage
1 41315638642.1 01 Nov 2026 02:42PM UTC 772
88.45
GitHub Action Run
Source Files on build 41315638642
  • Tree
  • List 772
  • Changed 14
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41315638642
  • c8f2c85c on github
  • Prev Build on main (#41275672496)
  • Next Build on main (#41354126353)
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