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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-2111-fixpnt
DEFAULT BRANCH: master
Ran 28 Oct 2026 04:31AM UTC
Jobs 1
Files 767
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

28 Oct 2026 04:11AM UTC coverage: 88.226% (+0.003%) from 88.223%
40630929533

push

github

web-flow
fix(efloat): compare with an integer exactly, in every operator and order (#1853)

efloat declared two friends, operator==(efloat, long long) and its mirror,
that were never defined (since V3.82, #470). An int reached them and the
double overloads at equal rank, so efloat == int was ambiguous for every
integer type but long long; a long long matched the undefined friend and
failed to link, == and != both. The other comparisons converted the integer
to double, so 2^53 < 2^53 + 1 was false.

The friends are gone. Templates over the integral types, all six operators
in both orders, convert the integer through efloat's exact constructors, as
the arithmetic operators already do. A bool compares as 0 or 1, as it adds.

elastic/efloat/logic/integer_comparison.cpp checks every integral type, the
six operators in both orders, at 32, 128 and 1024 bits, against an oracle
that compares the integers as a sign and a 64-bit magnitude: the 8- to 64-bit
extremes, 2^53 +- 1, integers plus 1/2, integers computed through an
addition, the zeros, infinities and NaNs; and the comparisons in
static_assert. The efloat_constant test now compares with plain integers.

Resolves #1852

BEHAVIOUR-CHANGE: efloat compared with an integer past 2^53 (<, >, <=, >=, !=) is now exact instead of rounding the integer to double

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

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

2 existing lines in 1 file now uncovered.

55324 of 62707 relevant lines covered (88.23%)

8788319.32 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
96.91
-0.13% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 40630929533.1 28 Oct 2026 04:31AM UTC 767
88.23
GitHub Action Run
Source Files on build 40630929533
  • Tree
  • List 767
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40630929533
  • 2d39e2cb on github
  • Prev Build on main (#40617388048)
  • Next Build on main (#40793856941)
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