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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 11 Nov 2026 01:39AM UTC
Jobs 1
Files 879
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 Nov 2026 01:11AM UTC coverage: 89.064% (+0.04%) from 89.028%
42937098429

push

github

web-flow
feat(fixpnt): hyperbolic CORDIC for exp, log, sqrt and the hyperbolic functions, and tan (#2044)

Adds the hyperbolic engine to the fixpnt cordic namespace, on the unified
step<m> core: exp, sinhcosh, sinh, cosh and tanh (hyperbolic rotation) and
atanh, log and sqrt (hyperbolic vectoring), with the repeated iterations
4, 13, 40, ... and an iteration count that counts them. Adds tan, circular
rotation followed by linear vectoring, deferred from #2040.

- exp, sinh, cosh and tanh reduce z = q ln 2 + r in a type whose ln 2
  carries the bits of q; log scales w into [3/4, 3/2), sqrt into [1/4, 1),
  and atanh splits off the power of two in 1 - |t|, so every argument the
  type holds converges.
- One datapath serves the family: max(nbits, rbits + 2) + g fraction bits,
  g = ceil(log2(B + 8)) + 3. tan has a circular datapath of
  rbits + 2 (ib - 1) + g fraction bits, since cos's error is amplified by
  1 / cos^2.
- exp, sinh, cosh and tan saturate in either arithmetic (exact wrapping
  would need a datapath as wide as the result); sqrt saturates as fixpnt's
  sqrt does; tanh, atanh and log follow the arithmetic. log(0) and
  atanh(+-1) set ERANGE, log(<0) and atanh(|t|>1) set EDOM, and sqrt(<0)
  follows fixpnt's sqrt.
- The atanh table, 1/K_n and ln 2 = 2 atanh(1/3) come from fixpnt series
  16 bits wider than the datapath; nothing goes through double.
- The circular sincos moves into detail::circular_sincos, shared with tan;
  the circular and linear results are bit-identical to main.

Measured worst case 0.57 ulp over every encoding up to 16 bits and samples
up to fixpnt<128,120>, against double and qd references.

Resolves #2041


Also publishes docs/algorithmic-details/cordic.md on the docs site
(docs-site/sync-content.mjs FILE_MAP and the site landing page).

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

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

61588 of 69150 relevant lines covered (89.06%)

10472730.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42937098429.1 11 Nov 2026 01:39AM UTC 879
89.06
GitHub Action Run
Source Files on build 42937098429
  • Tree
  • List 879
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42937098429
  • 67e89d7c on github
  • Prev Build on main (#42892310685)
  • Next Build on main (#42943925001)
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