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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 11 Oct 2026 10:06AM UTC
Jobs 1
Files 715
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

11 Oct 2026 09:40AM UTC coverage: 86.561% (-0.02%) from 86.584%
38129182759

push

github

web-flow
feat(bposit): correctly rounded erf, erfc, tgamma and lgamma (#1671)

Phase 2b of #1653: erf, erfc, tgamma and lgamma, the last b-posit functions still evaluated in double, now go through the Ziv engine with quad-double's new error and gamma functions (#1670) as the fallback.
- libm bounds per function: erfc 8 ulps, tgamma 16, and lgamma counted in ulps of max(|lgamma|, 1).
- erfc saturates to minpos.
- tgamma saturates with the sign of the gamma function.
- Poles are NaR.
- The range screens fall back to quad-double's lgamma when rounding a 64-bit argument to double lands it on a pole.

Documented limit: within about 2^-30 of a negative zero of lgamma, a 64-bit argument may round incorrectly. Every 16- and 32-bit input is decided.

correct_rounding.cpp covers all 26 functions. For these four the oracle carries its own ereal<8> evaluations: the erf series, and Stirling's series with exact Bernoulli numbers. Every 16-bit encoding passes through both engines (level 2), and the 32- and 64-bit configurations are sampled. Level 1 stays within the sanitizer timeout.

Closes #1653.

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

36 of 37 new or added lines in 2 files covered. (97.3%)

17 existing lines in 2 files now uncovered.

48184 of 55665 relevant lines covered (86.56%)

9873891.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.3
-2.7% include/sw/universal/number/bposit/math/error_and_gamma.hpp

Coverage Regressions

Lines Coverage ∆ File
16
88.24
-8.56% include/sw/universal/number/ereal/math/functions/trigonometry.hpp
1
80.8
-0.8% include/sw/universal/number/bposit/math/qd_kernels.hpp
Jobs
ID Job ID Ran Files Coverage
1 38129182759.1 11 Oct 2026 10:06AM UTC 715
86.56
GitHub Action Run
Source Files on build 38129182759
  • Tree
  • List 715
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38129182759
  • 2099dbf1 on github
  • Prev Build on main (#38123231121)
  • Next Build on main (#38145667205)
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