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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 16 Nov 2026 09:03AM UTC
Jobs 1
Files 896
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

16 Nov 2026 08:49AM UTC coverage: 89.192% (+0.03%) from 89.164%
43834366987

push

github

web-flow
fix(takum): exact constexpr takum_log conversions, unsigned casts; posit useed past double; dfixpnt, takum_log, fused-op performance (#2101)

- posit: detail::pow2_double returns inf past 2^1023 instead of doubling into
  it, so useed_value<nbits, es>() is a constant expression for es >= 10.
- takum_log: the double-double helpers (frexp, ldexp, floor, log seed, the
  fma in two_prod) are constexpr, so integer and floating-point conversions,
  integer casts and the wide-layout double conversion give the run-time
  encoding at compile time. The constexpr route through a double rounded
  every integer above 2^53 and missed the correct rounding of 3 and 0.1 on
  takum_log<64,3>.
- takum_log: l = 0 (exactly 1) is decided before the double estimate, whose
  error interval straddles the characteristic boundary: 102 ns -> 4 ns.
- takum, takum_log: explicit unsigned int / long / long long casts, under
  posit's rule (NaR and x <= -1 give 0, saturate at the top), as bposit has.
- dfixpnt: 64-bit fast paths for double -> dfixpnt (m 5^radix, a 128-bit
  product) and dfixpnt -> double (N / 5^radix, a 128 / 64-bit quotient),
  bit-identical to the digit-serial arithmetic, which stays for wide layouts:
  dfixpnt<20,10> round trip 3896 ns -> 225 ns.
- posit fma/fam/fmma: terms sized 4 fbits + 16 bits (the bound is derived in
  the comment) instead of 5 fbits + 192, and bit scans by countl_zero /
  countr_zero: fma(posit<8,0>) 190 ns -> 15 ns.
- takum value tables: the 24-bit bound is a named constant, pinned by a test.

Tests: useed_value at es 9/10/22 at compile time; takum_log constexpr against
run time (integers past 2^53, doubles, casts); unsigned casts of takum and
takum_log against exact references; fused ops on posit<16..128> against the
quire; posit narrowing at and next to ties, both signs, three wide sources;
dfixpnt fast-path layouts against the exact integer<> references; the takum
value tables.

Resolves #2098

BEHAVIOUR-CHANGE: a constexpr takum_log con... (continued)

162 of 185 new or added lines in 6 files covered. (87.57%)

5 existing lines in 2 files now uncovered.

63991 of 71745 relevant lines covered (89.19%)

12424621.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
89.37
-10.63% include/sw/universal/number/takum/takum_log_arithmetic.hpp
1
94.75
0.86% include/sw/universal/number/dfixpnt/dfixpnt_impl.hpp

Coverage Regressions

Lines Coverage ∆ File
3
98.13
-0.18% include/sw/universal/number/cfloat/cfloat_impl.hpp
2
86.15
-0.29% include/sw/universal/number/qd/qd_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 43834366987.1 16 Nov 2026 09:03AM UTC 896
89.19
GitHub Action Run
Source Files on build 43834366987
  • Tree
  • List 896
  • Changed 13
  • Source Changed 6
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43834366987
  • b9fd737e on github
  • Prev Build on main (#43806091513)
  • Next Build on main (#43841038115)
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