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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 18 Oct 2026 10:31PM 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 10:11PM UTC coverage: 87.439% (-0.01%) from 87.452%
39171128718

push

github

web-flow
perf(efloat): long division a word at a time, 13x faster at 608 bits (#1741)

divide_limbs produced the quotient one bit at a time: for each of the
32 * (precision + 1) bits it compared, subtracted and shifted the whole
dividend, ~37 multiplies per division at 608 bits, and padded a small divisor
to the dividend's length. Every transcendental divides in its inner loop.

It is now Knuth's Algorithm D on 32-bit limbs, with the divisor's zero tail
limbs dropped so a small-integer divisor takes the O(n) single-limb path.
Quotient and sticky flag are bit-identical to the old loop on 200000 random
operand pairs (gcc, clang, clang ASan+UBSan). normalize() also shifted a
leading-zero gap out one bit per pass; it now moves whole limbs and bits.

At 608 bits: division 9.0 -> 0.5 us, exp 223 -> 20 us, log 1080 -> 91 us,
sin 680 -> 43 us, sqrt 83 -> 6 us; against mpmath's pure-Python backend,
division 2.8x faster, exp 1.8x slower, log 10x slower.

benchmark/performance/arithmetic/efloat/mpmath_gap.{cpp,py} print the
comparison at 128, 608 and 2048 bits; the benchmark fails if division costs
15 multiplies or more.

Relates to #1714

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

72 of 86 new or added lines in 1 file covered. (83.72%)

1 existing line in 1 file now uncovered.

51324 of 58697 relevant lines covered (87.44%)

10928829.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
88.97
-0.7% include/sw/universal/number/efloat/efloat_impl.hpp

Coverage Regressions

Lines Coverage ∆ File
1
97.04
-0.06% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 39171128718.1 18 Oct 2026 10:31PM UTC 752
87.44
GitHub Action Run
Source Files on build 39171128718
  • 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 #39171128718
  • 4b35f43a on github
  • Prev Build on main (#39162537678)
  • Next Build on main (#39176739021)
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