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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 10 Nov 2026 12:57AM UTC
Jobs 1
Files 878
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

10 Nov 2026 12:37AM UTC coverage: 89.0% (+0.008%) from 88.992%
42729690969

push

github

web-flow
fix(sorn): round the sorn-with-sorn bounds and the reciprocal outward (#2037)

fix(sorn): round the sorn-with-sorn bounds and the reciprocal outward

sorn + - * / sorn and reciprocal computed each bound in float with
round-to-nearest. When an exact bound is not a float, the rounded bound can
fall inside the image of the operands, and the result no longer encloses
it. The scalar paths have rounded outward since #2010; the sorn paths now
use the same helpers:
- + and -: sornAddOut on the bound sums and differences;
- *: each corner product rounded down for the lower bound and up for the
  upper one with sornMulOut, keeping the closed-zero rule of #1972;
- reciprocal, and so / sorn and scalar / sorn: sornDivOut, with the
  direction turned around for a negative bound.
A rounded bound is open.

The lattices in the tests had short dyadic points, which hid this. The new
exact-bound check in enclosure.cpp takes every pair of spans with finite
bounds and compares the result's bounds with the image's, exactly: a sum or
product of two floats is exact in double, and a quotient is compared by
cross-multiplication. On main it fails on lattices with non-dyadic points:

  sorn<0,3,7>   + 3020, - 3020, * 1596, / 140
  sorn<0,1,5>   + 856,  - 856
  sorn<0,6,18>  / 6954

With only reciprocal reverted to nearest, / still fails (140 and 2832). A
direct 1 / y check passes on main as well: there adaptToDT widens a rounded
reciprocal bound that lands on a lattice point.

Resolves #2021

BEHAVIOUR-CHANGE: sorn + - * / sorn and scalar / sorn can return a wider interval (one more lattice interval at a bound) where the exact bound is not a float; the result now encloses the exact one

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

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

2 existing lines in 1 file now uncovered.

61158 of 68717 relevant lines covered (89.0%)

9926079.12 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
92.31
-1.71% include/sw/universal/verification/correctly_rounded_reference.hpp
Jobs
ID Job ID Ran Files Coverage
1 42729690969.1 10 Nov 2026 12:57AM UTC 878
89.0
GitHub Action Run
Source Files on build 42729690969
  • Tree
  • List 878
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42729690969
  • 9a2aef36 on github
  • Prev Build on main (#42720393731)
  • Next Build on main (#42760759852)
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