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

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

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

14 Nov 2026 01:43PM UTC coverage: 89.098% (-0.004%) from 89.102%
43601176504

push

github

web-flow
fix: mixed-type promote_t ranks by range, then precision, independent of operand order (#2067)

* fix: mixed-type promote_t ranks by range, then precision, independent of operand order

Mixed-type operators chose their result type by fraction bits alone, with the left
operand winning ties. cfloat<16,8>(1e20) + cfloat<16,5>(1) landed in the narrow-range
type and was inf, and equal-precision pairs gave a type that depended on operand order.

promote_t now ranks each type by numeric_limits max_exponent, then digits, then
min_exponent, then sizeof, then the compiler's spelling of the type. The type that
covers both operands wins; when neither does, range decides; promote_t<A,B> and
promote_t<B,A> are the same type. The double bridge stays (option a of #2059).

cross_type_conversion.cpp's promotion section now counts its failures (it never added
them to the total) and checks covering, incomparable and tied pairs in both orders,
plus the 1e20 sum.

Resolves #2059

BEHAVIOUR-CHANGE: mixed-type operators between Universal types may return a different type: the operand type with the larger dynamic range wins over the one with more fraction bits (posit<32,2> + cfloat<32,8> is now cfloat<32,8>), and ties no longer depend on operand order

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

* fix: keep promote_t well-formed for array operands

The mixed operators name promote_t in their return type, so overload resolution forms
it for "-" + std::string in blockbinary/to_decimal.hpp. numeric_limits<char[2]> does
not compile with libstdc++ 14 (function returning an array): the clang fast tier
failed on integration/noexceptions/convert.cpp. Query numeric_limits only for object
types that are not arrays; the test now forms promote_t<char[2], std::string>.

Relates to #2059

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

---------

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

63093 of 70813 relevant lines covered (89.1%)

11026071.66 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
34.7
-0.63% include/sw/universal/verification/test_suite_randoms.hpp
1
97.8
0.0% include/sw/universal/number/cfloat/cfloat_impl.hpp
1
93.16
-0.85% include/sw/universal/verification/correctly_rounded_reference.hpp
Jobs
ID Job ID Ran Files Coverage
1 43601176504.1 14 Nov 2026 02:03PM UTC 891
89.1
GitHub Action Run
Source Files on build 43601176504
  • Tree
  • List 891
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43601176504
  • c53eaa6e on github
  • Prev Build on main (#43564838215)
  • Next Build on main (#43625651943)
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