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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 19 Oct 2026 03:23PM UTC
Jobs 1
Files 754
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

19 Oct 2026 03:03PM UTC coverage: 87.452% (+0.02%) from 87.435%
39274580412

push

github

web-flow
feat(efloat): native operands carry no precision; + - / correctly rounded (#1758)

A value constructed from a native integer or float carries no precision of
its own (#1757, options B and D): an operation runs at its other operand's,
so x * 3, x / efloat(7) and exp(x) stay at the precision set on x instead of
widening to the type's nlimbs * 32 bits. Two precision-free operands combine
at the default precision and the result carries none; so does a math
function of precision-free arguments. A native value is exact until an
operation rounds it. Mixed efloat-integer operators convert all 64 bits.

Running at the operand's precision exposed two rounding bugs that the type's
full width had hidden: division rounded one bit short whenever the dividend's
significand lay below the divisor's (about half of all quotients), and
addition/subtraction truncated the smaller operand's shifted-out bits (now
two guard limbs and a sticky bit). sinh, cosh, tanh, asinh, acosh, atanh,
sqrt and cbrt now compute 64 bits past the result and round once.

Tests: arithmetic/correct_rounding.cpp (+ - * / against an exact oracle at
32..640 bits), api/precision.cpp (the precision rules, exact natives).

Resolves #1757

BEHAVIOUR-CHANGE: efloat x op literal and the math library run at x's precision rather than the type's nlimbs * 32 bits, and functions of literals carry no precision; efloat division, addition and subtraction are now correctly rounded (quotients were often 1 ulp off, sums truncated), and sinh/cosh/tanh/asinh/acosh/atanh/sqrt/cbrt round once from guard bits, so last-place digits change

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

163 of 163 new or added lines in 7 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

51517 of 58909 relevant lines covered (87.45%)

9341893.13 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
89.58
0.44% include/sw/universal/number/efloat/efloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 39274580412.1 19 Oct 2026 03:23PM UTC 754
87.45
GitHub Action Run
Source Files on build 39274580412
  • Tree
  • List 754
  • Changed 7
  • Source Changed 7
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39274580412
  • c4f1b734 on github
  • Prev Build on main (#39202799770)
  • Next Build on main (#39291700915)
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