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

stillwater-sc / universal / 30624996632
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 31 Jul 2026 11:14AM UTC
Jobs 1
Files 599
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

31 Jul 2026 10:51AM UTC coverage: 85.208%. Remained the same
30624996632

push

github

web-flow
docs(lns): document scale() int-truncation limit for wide configurations (#1274) (#1276)

* docs(lns): document scale() int-truncation limit for wide configurations (#1274)

scale() returns int by the library-wide convention (posit/cfloat/... all return
int), which is baked into the arithmetic engine (blocktriple/blocksignificand
consume int scale) and ~499 call sites. lns is the one type whose exponent field
(nbits-rbits-1 bits) can exceed int range, so scale() truncates for
astronomically wide configs (lns<64,11> ~ 2^52, lns<128,15> ~ 2^111).

Per the #1274 decision (document the limit rather than widen the library-wide
return type or forbid the wide configs, which are legitimately used e.g. in the
lns math library): add a doc note on lns::scale() explaining the limit and that
lns ARITHMETIC is unaffected (it operates on the full fixed-point exponent; only
this metadata accessor saturates). No behavior change.

Resolves #1274

* docs(lns): correct scale() limit wording per CodeRabbit (#1276 review)

Two doc-accuracy fixes on the #1274 note:
- "saturates" was wrong: operator int() keeps the low 64 bits and the C++20
  int64->int conversion reduces modulo 2^32 (well-defined wrap, not saturation).
- dropped the non-actionable "read the exponent field directly" guidance (_block
  is private and there is no public full-width exponent/scale accessor); state
  instead that wide configs currently have no public full-width scale() alternative.

Relates to #1274

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

41671 of 48905 relevant lines covered (85.21%)

7268688.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30624996632.1 31 Jul 2026 11:14AM UTC 599
85.21
GitHub Action Run
Source Files on build 30624996632
  • Tree
  • List 599
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30624996632
  • 40ad8275 on github
  • Prev Build on main (#30597794219)
  • Next Build on main (#30637144130)
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