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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 14 Nov 2026 10:30PM UTC
Jobs 1
Files 893
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

14 Nov 2026 10:11PM UTC coverage: 89.127% (-0.003%) from 89.13%
43646807960

push

github

web-flow
fix(fixpnt): cordic.hpp stands alone; CORDIC tests bound the error at 0.6 ulp (#2077)

The QA sweep in #2047 found fixpnt/math/cordic.hpp compiling only through
fixpnt/mathlib.hpp, and the CORDIC tests passing anything within 1.0 ulp when
the engines measure at most 0.57.

- fixpnt/math/cordic.hpp includes the fixpnt core and the fixpnt sqrt it uses
  to build 1/K_n, as dfixpnt/math/cordic.hpp includes its core. Included alone
  it failed with 'Saturate' and 'fixpnt' not declared.

Tests:
- cordic_hyperbolic.cpp, cordic_linear.cpp and decimal/math/cordic.cpp bound
  the worst error at kWorst = 0.6 ulp, as cordic.cpp does at 0.65. The measured
  worst over all four regression levels is 0.566 (hyperbolic), 0.531 (linear)
  and 0.537 (decimal). Under the 1.0 bound, a datapath two guard bits short
  (one guard digit for dfixpnt) passed all three; it now fails each. A final
  step that truncates failed the old bound only by 0.001-0.008 ulp.
- The final rounding is checked on exact ties, which no error bound can see:
  detail::fit (in cordic_standalone.cpp) and decimal_detail::round_digits
  must round ties to even. Rounding ties up or away from zero now fails.
- New cordic_standalone.cpp includes fixpnt/math/cordic.hpp as its only fixpnt
  header, instantiates every engine function, and builds with
  FIXPNT_THROW_DIVIDE_BY_ZERO 0, so cordic::div(y, 0) is checked against
  fixpnt's operator/ and sqrt of a negative against errno = EDOM.
- cordic_hyperbolic.cpp: iteration-count and guard-width checks for sinh,
  cosh, tanh, atanh, sqrt and tan, not only exp and log; tan around the poles
  at -pi/2, pi/2 and 3pi/2 (the two encodings on each side, quantized from
  the reference, not through double) and at maxpos and maxneg; a wide type on byte limbs,
  fixpnt<72,40,u8>.
- cordic_linear.cpp: iteration-count and guard-width checks for a Modulo type
  and a wide byte-limb type, not only fixpnt<16,12,sat>.
- decimal/math/cordic.cpp: the double reference is used up ... (continued)

63189 of 70898 relevant lines covered (89.13%)

11771244.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
86.15
-0.29% include/sw/universal/number/qd/qd_impl.hpp
2
34.7
-0.63% include/sw/universal/verification/test_suite_randoms.hpp
Jobs
ID Job ID Ran Files Coverage
1 43646807960.1 14 Nov 2026 10:30PM UTC 893
89.13
GitHub Action Run
Source Files on build 43646807960
  • Tree
  • List 893
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43646807960
  • 83943f9b on github
  • Prev Build on main (#43635043952)
  • Next Build on main (#43654278775)
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