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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 05 Nov 2026 02:27AM UTC
Jobs 1
Files 773
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

05 Nov 2026 02:02AM UTC coverage: 88.573% (+0.006%) from 88.567%
41952519580

push

github

web-flow
perf(cfloat): place a double's fraction in uint64_t limbs with one shift (#1923)

Converting a float or double to a cfloat wider than 64 bits with uint64_t
limbs set the fraction bits one at a time with setbit() (the branch added
for #1518). That made the conversion 8-70x slower than with uint32_t limbs.
The fraction now goes in with a shift and an OR into the at most two
adjacent limbs it lands in, and the MSU is masked before the sign is
written.

With uint64_t limbs at 96, 128, 196 and 256 bits, conversion from double
went from 130-150 ns to 1.4, 1.4, 20.5 and 4.5 ns with gcc, and 1.7, 1.6,
2.0 and 1.7 ns with clang. The BlockType benchmark's cross-check finds
identical encodings for every BlockType.

New cases in block_type_conversion:
- cfloat<65,11>: the fraction sits in limb 0 and the MSU holds only the sign.
- cfloat<128,11>: the fraction's lsb falls exactly on the limb boundary.
- cfloat<129,11>.
- cfloat<80,8>, where deep doubles are rounded before the fraction is
  placed. (2^53 - 1) * 2^-200 must round up across a binade to 2^-147.
- 2000 seeded random doubles per configuration.

A carry into the exponent field (a subnormal rounding up to min normal)
cannot come from a native double when nbits > 64: it would need fbits < 53,
hence es >= 12, and then min normal lies below the double range.

Resolves #1918

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

8 of 8 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

56310 of 63575 relevant lines covered (88.57%)

8929442.49 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
97.67
0.07% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 41952519580.1 05 Nov 2026 02:27AM UTC 773
88.57
GitHub Action Run
Source Files on build 41952519580
  • Tree
  • List 773
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41952519580
  • 090ab8bf on github
  • Prev Build on main (#41888444018)
  • Next Build on main (#41973428347)
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