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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 02 Nov 2026 04:20PM UTC
Jobs 1
Files 773
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

02 Nov 2026 04:05PM UTC coverage: 88.482% (+0.004%) from 88.478%
41478103696

push

github

web-flow
fix(cfloat): an operation on a signalling NaN delivers a quiet NaN (#1900)

IEEE-754 6.2: a general-computational operation with a signalling NaN
operand signals invalid and, without a trap, delivers a quiet NaN.
cfloat propagated the signalling NaN instead (sNaN + x = sNaN).

- + - * / deliver a quiet NaN for any NaN operand when exceptions are
  off; with CFLOAT_THROW_ARITHMETIC_EXCEPTION a signalling operand still
  throws (the trapping form of the same exception).
- New cfloat::quieted(): a signalling NaN becomes the canonical quiet
  NaN, anything else, a quiet NaN's sign and payload included, is kept.
  sqrt, exp, exp2, trunc, floor, ceil, round, ldexp and frexp return
  x.quieted() for a NaN instead of x.
- fdp delivers a quiet NaN for NaN/inf products and a NaR quire, and
  quire_mul checks NaN and inf before a zero operand: fdp(NaN, 0) and
  inf * 0 resolved to 0.
- cfloat_test_suite's add/sub/mul/div references expect a quiet NaN.

Unchanged by decision (#1899): conversions keep the NaN type; negate
and abs are quiet-computational and keep a signalling NaN where the
encoding allows (with sign-typed NaNs the sign is the type); no status
flags, so with exceptions off the invalid operation leaves no other
trace. All configurations follow the rule.

ieee754_encoding.cpp (VerifySignallingNanOperands and
VerifySignallingNanFunctions) checks the arithmetic, the math
functions, fdp including a NaN times zero in both orders, conversions
keeping the type, and negate/abs on half; for half and
cfloat<8,4,sub,max>.

Resolves #1899

BEHAVIOUR-CHANGE: arithmetic (+ - * /, fdp) and sqrt/exp/exp2/trunc/floor/ceil/round/ldexp/frexp on a signalling NaN deliver a quiet NaN instead of propagating the signalling NaN, in every cfloat configuration with arithmetic exceptions off; fdp with a NaN or inf times zero is a quiet NaN instead of 0

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

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

56092 of 63394 relevant lines covered (88.48%)

8944672.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41478103696.1 02 Nov 2026 04:20PM UTC 773
88.48
GitHub Action Run
Source Files on build 41478103696
  • Tree
  • List 773
  • Changed 6
  • Source Changed 6
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41478103696
  • 125cc4d2 on github
  • Prev Build on main (#41400317777)
  • Next Build on main (#41519197556)
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