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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 09 Nov 2026 05:02AM UTC
Jobs 1
Files 872
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

09 Nov 2026 04:32AM UTC coverage: 88.892% (+0.004%) from 88.888%
42562415184

push

github

web-flow
fix(quire): keep signed infinities apart from NaN in the generalized quire (#2025)

The generalized quire had one sticky flag for every non-finite value, so 1 + inf,
inf + inf and -inf + -inf all resolved to NaN, and isinf()/isnan() could not tell
the cases apart. IEEE 754 keeps an infinity an infinity.

- quire_impl.hpp: three sticky states, +inf, -inf and NaN (_is_pinf, _is_ninf,
  _is_nan; not _nan, which MinGW's <math.h> defines as a macro). Opposite
  infinities make NaN; an infinite quire ignores finite terms but still records
  an opposite infinity or a NaN. isinf()/isnan() report their own state, isnar()
  stays "any non-finite", sign() gives the infinity's sign. Comparisons treat an
  infinite quire as that infinity; abs, -=, to_blocktriple, convert_to and
  setinf() follow.
- native and cfloat quire_mul: inf * nonzero is an infinity signed by the XOR of
  the signs; inf * 0 and a NaN factor stay NaN.
- quire_round_to and cfloat quire_resolve return the signed infinity; posit and
  bposit resolve any non-finite state to NaR, lns and dbns to NaN, as before.
- to_binary prints +inf / -inf.
- New numeric/quire/ieee754/inf_propagation.cpp; three tests updated from NaN to
  the signed infinity.

Resolves #2019

BEHAVIOUR-CHANGE: quire<float>, quire<double> and quire<cfloat> now resolve a sum with an infinite term and no NaN to that signed infinity instead of NaN; quire::isinf() and isnan() no longer both report every non-finite state

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

223 of 237 new or added lines in 10 files covered. (94.09%)

16 existing lines in 1 file now uncovered.

60512 of 68074 relevant lines covered (88.89%)

9719596.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
91.52
numeric/quire/ieee754/inf_propagation.cpp

Coverage Regressions

Lines Coverage ∆ File
16
85.97
-2.72% include/sw/universal/number/quire/quire_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 42562415184.1 09 Nov 2026 05:02AM UTC 872
88.89
GitHub Action Run
Source Files on build 42562415184
  • Tree
  • List 872
  • Changed 11
  • Source Changed 9
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42562415184
  • 003b3a03 on github
  • Prev Build on main (#42539818393)
  • Next Build on main (#42569178976)
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