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

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

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

18 Oct 2026 08:16PM UTC coverage: 87.452% (+0.005%) from 87.447%
39162537678

push

github

web-flow
fix(dfloat): recognize zero-valued cohort encodings (#1738)

iszero() checked that every bit except the sign was 0, so only the
canonical zero encoding counted: a zero cohort member such as 0e-6 was not
zero, and x / 0e-6 took the finite division path and returned 0 instead of
infinity. iszero() now unpacks the value and classifies every finite
encoding with a zero significand as zero, in BID and DPD alike, and unpack()
reports exponent 0 for such a value.

Tests: logic.cpp walks every encoding of dfloat<3,2> in BID and DPD and
checks that iszero() agrees with the decoded significand and that dividing
by each zero encoding gives infinity, or throws dfloat_divide_by_zero when
DFLOAT_THROW_ARITHMETIC_EXCEPTION is enabled.

Fixes #1737

BEHAVIOUR-CHANGE: dfloat iszero() is true for every zero cohort member (e.g. 0e-6), so division by one returns infinity (or throws) instead of 0, and unpack() of such a value reports exponent 0

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

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

51281 of 58639 relevant lines covered (87.45%)

11029325.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39162537678.1 18 Oct 2026 08:35PM UTC 752
87.45
GitHub Action Run
Source Files on build 39162537678
  • Tree
  • List 752
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39162537678
  • f48dab97 on github
  • Prev Build on main (#39158719339)
  • Next Build on main (#39171128718)
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