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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 07 Nov 2026 04:34AM UTC
Jobs 1
Files 868
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

07 Nov 2026 04:17AM UTC coverage: 88.67% (+0.008%) from 88.662%
42337781619

push

github

web-flow
perf(numeric): keep faithful's exact expansion in an inline buffer (#1980)

#1969's last item, from the QA sweep (#1962): exact_expansion stored its
components in a std::vector. Every expansion cost a heap allocation,
fmod copied one on each step of its loop, and exp, exp10 and pow build
several per call.

Measured first. Over the library's functions the largest expansion is
12 components for float and 11 for double. The components now live in
an inline buffer of 32. Copies move only the live components. An
expansion that grows past 32, which a long chain of add() calls can
still make for double, moves to the heap and stays correct. The
arithmetic is unchanged, and 360,000 results of exp, exp10, exp2,
expm1, pow and fmod are bit-identical to main's.

| ns per call (gcc -O2)  | float      | double     |
|------------------------|------------|------------|
| fmod, small quotient   |  61 ->  35 |  59 ->  36 |
| fmod, large quotient   | 336 -> 253 | 183 -> 121 |
| exp                    | 314 -> 266 | 368 -> 320 |
| pow                    | 466 -> 418 | 583 -> 545 |

log does not use the expansion and is unchanged.

numeric/faithful/truncation.cpp drives one past the buffer: 35 double
components 60 bits apart, which no twoSum merges. It checks size, sign,
copy and assignment when spilled, cancellation one component at a time
back below the buffer, and a merging add. A spill that drops the
component fails all 8 checks. The 11 faithful tests pass with gcc and
clang.

Resolves #1969
Relates to #1962

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

52 of 52 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

59314 of 66893 relevant lines covered (88.67%)

9623053.53 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
97.8
0.0% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 42337781619.1 07 Nov 2026 04:34AM UTC 868
88.67
GitHub Action Run
Source Files on build 42337781619
  • Tree
  • List 868
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42337781619
  • e71406df on github
  • Prev Build on main (#42337764573)
  • Next Build on main (#42344713552)
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