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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 18 Oct 2026 02:09PM 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 01:53PM UTC coverage: 87.392% (+0.01%) from 87.381%
39133541881

push

github

web-flow
fix(dfloat): comparisons compare values, so cohort members are equal (#1736)

operator== compared the unpacked (sign, exponent, significand) fields, so two
encodings of one value that differ only in the exponent compared unequal, and
operator<= / operator>=, built on ==, were false with them as well: for
decimal64("1.25") + decimal64("1.25"), stored as 250e-2, and decimal64("2.5"),
stored as 25e-1, all of ==, <, >, <= and >= were false.  Zeros with a nonzero
exponent (0e-6) did not equal 0 either, since iszero() recognises only the
all-zero encoding.

Both operators now rest on one three-way value comparison: infinities, then
the zeros of every exponent and sign, then the sign, the position of the
leading digit, and last the significands aligned to a common exponent in
wide_significand_t.  The comparisons against double forward to these.

The logic test sweeps every encoding of dfloat<3,2> BID and DPD against an
exact integer oracle read from the decoded fields: each encoding against every
member of its value class and the neighbouring classes, plus random pairs; and
it makes cohorts in decimal32, decimal64 and decimal128_dpd with x + x.  On
main it fails 7228 (BID) and 14402 (DPD) cases and every x + x sample.

Resolves #1734

BEHAVIOUR-CHANGE: dfloat ==, !=, <= and >= compare values: 250e-2 == 25e-1 and 0e-6 == 0 are now true

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

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

51045 of 58409 relevant lines covered (87.39%)

10961868.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39133541881.1 18 Oct 2026 02:09PM UTC 752
87.39
GitHub Action Run
Source Files on build 39133541881
  • Tree
  • List 752
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39133541881
  • 3a4d9156 on github
  • Prev Build on main (#39128875428)
  • Next Build on main (#39153583842)
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