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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 29 Oct 2026 06:55PM UTC
Jobs 1
Files 768
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

29 Oct 2026 06:29PM UTC coverage: 88.244% (+0.005%) from 88.239%
40931355757

push

github

web-flow
fix(cfloat): a saturating cfloat with max-exponent values has no inf (#1867)

A saturating cfloat with max-exponent values reuses the pattern a
nonsaturating cfloat gives +-inf, 0b0.11..11.11..110, as maxpos and
maxneg. isinf() still recognized it, so the largest finite value behaved
as infinity everywhere the type tests for one: the operand unpack made
maxpos / 2 inf and maxpos - (maxpos - 1 ulp) inf, double(maxpos) was inf,
frexp returned it unchanged with e = 0, and numeric_limits claimed
has_infinity with max() converting to inf.

In this configuration isinf() is now false for every encoding and
setinf() gives maxpos/maxneg, which also covers SpecificValue::infpos and
infneg and the conversion from an IEEE inf. numeric_limits::has_infinity
is false. The bits that setinf() produces are unchanged, so encodings,
saturation and the rounding path that maps an infinite result to maxpos
are unaffected; only how the pattern is read changes.

The exhaustive saturating sweep did not see this: it compares encodings,
and the double reference inf converts back to the same bits. A direct
check of maxpos/maxneg values, arithmetic, frexp/ldexp and numeric_limits
is added to saturating_overflow.cpp, for es 2 to 8, with and without
subnormals, one to five blocks.

Resolves #1865

BEHAVIOUR-CHANGE: saturating cfloat with max-exponent values: maxpos/maxneg are finite (isinf() false, double() finite, arithmetic on them finite) and numeric_limits::has_infinity is false

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

2 of 2 new or added lines in 2 files covered. (100.0%)

55571 of 62974 relevant lines covered (88.24%)

8780714.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40931355757.1 29 Oct 2026 06:55PM UTC 768
88.24
GitHub Action Run
Source Files on build 40931355757
  • Tree
  • List 768
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40931355757
  • d433f564 on github
  • Prev Build on main (#40911161556)
  • Next Build on main (#40976210318)
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