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

stillwater-sc / universal / 30380503472
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Jul 2026 05:36PM UTC
Jobs 1
Files 644
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

28 Jul 2026 04:55PM UTC coverage: 85.484% (+0.02%) from 85.463%
30380503472

push

github

web-flow
test(utility): generic ADL fma-accumulation kernel + fma parity audit (#1199) (#1240)

Add a single generic kernel -- dot_fma(x,y) using the ADL two-step
`using std::fma; acc = fma(x[i], y[i], acc)` -- and instantiate it over the native
floating-point types (std::fma) and every Universal number type that provides a free
fma (posit, cfloat, integer, fixpnt, bfloat16, dd, qd, areal, takum). This proves the
per-type fma overloads are uniformly ADL-reachable, which is what lets a mixed-precision
kernel be written once and run over any arithmetic type. Green on gcc + clang.

Re-scope note (#1204): the original issue asked to route the generic BLAS dot through
fma, but the BLAS was extracted out of Universal (include/sw/blas is gone). Universal is
now number-systems-only, so the *library* generic-dot fma-accumulation path belongs in
MTL5 / mp-blas -- selected there via the has_fma<T> trait added in #1198 -- not in
Universal. This commit delivers the Universal-side pieces: the generic instantiation test
(above) that keeps the overloads ADL-reachable, complementing the has_fma trait.

fma parity audit (existing overloads): all share the signature `T fma(const T&, const T&,
const T&)` returning the type by value -- posit (atomic_fused_operators.hpp), cfloat, dd,
efloat, ereal. constexpr where feasible (dd, efloat); posit/ereal are not constexpr
(convert()/blocktriple and elastic-limb allocation preclude it). Signatures are
consistent; no changes needed.

Resolves #1199
Relates to #1189

46907 of 54872 relevant lines covered (85.48%)

6795321.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
89.54
-0.51% include/sw/universal/number/posito/posito_impl.hpp
3
81.03
-0.22% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
Jobs
ID Job ID Ran Files Coverage
1 30380503472.1 28 Jul 2026 05:36PM UTC 644
85.48
GitHub Action Run
Source Files on build 30380503472
  • Tree
  • List 644
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30380503472
  • 25018de8 on github
  • Prev Build on main (#30380499927)
  • Next Build on main (#30402066067)
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