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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 16 Oct 2026 05:08PM UTC
Jobs 1
Files 723
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

16 Oct 2026 04:14PM UTC coverage: 86.732% (+0.04%) from 86.692%
38930407030

push

github

web-flow
fix(unum1): ubound rounds outward and gains sqrt (#1700)

* fix(unum1): ubound rounds outward and gains sqrt

ubound computed each endpoint in double and stored it through
unum::operator=(double): two roundings, neither directed, so the result
was not an enclosure ([1] + [2^-100] came back as the point [1]).

Each endpoint is now computed in double, an error-free transform gives
the exact sign of that double's rounding error (TwoSum, Dekker
TwoProduct, and the residuals of / and sqrt), and the endpoint is then
rounded outward onto the unum lattice. A ubound now carries open and
unbounded ends, so an inexact unum is its open tile, overflow past
maxpos is (maxpos, inf), and every result is the tightest enclosure the
lattice can express.

- unum_lattice<ess, fss>: the exact values as an IEEE-like lattice
  (maxfsize + 1 significand bits, exponents 2 - 2^esmax .. 2^esmax).
  ubound requires esizesize <= 3 and fsizesize <= 5, where every
  lattice point is a double.
- sqrt(ubound), hull(), unary minus, contains(ubound) and contains(unum).
- lower<Real>(), upper<Real>(), lower_open(), upper_open(), isexact()
  and the unbounded queries, so ubound satisfies the ubox_trace contract.
- next_exact/prev_exact step one lattice point, not one binade.
- operator<< prints ( ) for open ends and inf for unbounded ones.

elastic/unum/ubound_enclosure.cpp checks the lattice model against every
exact encoding. It then runs an exact oracle that is independent of the
error-free transforms: exhaustive over every tile pair of unum<2,2>,
random on unum<2,3>, and unum<3,5> points against an integer<1024>
oracle, where about 23% of results depend on the rounding side.
Mutating the strictness rule, the rounding direction or the TwoProduct
error term each fails it.

Resolves #1689

BEHAVIOUR-CHANGE: ubound<> results are now outward-rounded enclosures with open ends; ubound(inexact unum) is the open tile instead of a closed interval, and next_exact(1.0) is 1 + 2^-maxfsize instead ... (continued)

231 of 232 new or added lines in 2 files covered. (99.57%)

8 existing lines in 1 file now uncovered.

49302 of 56844 relevant lines covered (86.73%)

12005220.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.61
9.32% include/sw/universal/number/unum/ubound.hpp

Coverage Regressions

Lines Coverage ∆ File
8
96.37
-0.52% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 38930407030.1 16 Oct 2026 05:08PM UTC 723
86.73
GitHub Action Run
Source Files on build 38930407030
  • Tree
  • List 723
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38930407030
  • 43ce428e on github
  • Prev Build on main (#38897796048)
  • Next Build on main (#38960461117)
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