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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-2113-followups
DEFAULT BRANCH: master
Ran 23 Oct 2026 01:13PM UTC
Jobs 1
Files 761
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

23 Oct 2026 12:51PM UTC coverage: 88.049% (+0.03%) from 88.022%
39956559783

push

github

web-flow
perf(efloat): fma and hypot on limb scratch, exact product and sum in place, one rounding (#1803)

* perf(efloat): fma and hypot on limb scratch, exact product and sum in place, one rounding

fma and hypot were built from efloat-level helpers (exact_product, exact_sum, sqrt_to), each
of which copied or widened whole efloat values. At 128 and 512 bits two thirds of fma's time
was those copies, and hypot formed five intermediate efloats.

fma now multiplies the significands with efloat_mpn::mul straight into a frame of 64-bit limbs
at the product's bit offset, adds or subtracts z's limbs in place (a borrow out of the top
negates the frame), and rounds once through a new efloat::assign_rounded_limbs. A term lying
wholly more than 66 bits below both the other's last bit and 64 bits past the rounding point
becomes a proxy at the frame's last bit. Operands whose product scale lies beyond 2^61 keep the
rescaled #1786 path.

hypot squares both significands on limbs, forms floor((x^2 + y^2) 2^(2F - 2k - 2c)) with the
dropped bits as a sticky bit, and rounds the root from efloat_mpn::sqrtrem with its remainder,
as sqrt does.

efloat_mpn gains load_window (a shifted copy that reports dropped bits). efloat_detail gains
pack_significand and limb_buffer.

mpfr_gap, efloat / MPFR at 128 / 512 / 2048 / 8192 bits:
  fma    4.2x 3.5x 2.0x 1.7x  ->  1.4x 1.7x 1.8x 1.6x
  hypot  2.1x 2.0x 2.5x 2.2x  ->  0.6x 0.8x 1.4x 1.6x

Results are bit-identical to main, flags and carried precision included, over 1.12 million
old-vs-new fma and hypot results in every rounding mode. mpfr_check reports 0 wrong.

Tests: exact_functions gains VerifyFmaAlignments (z below, overlapping and above the product,
both sides of the proxy gap, cancellation and sign change, the 2^61 band) and VerifyHypotFrames
(sums in [4, 8), roots inexact by their remainder alone, the nudge gap, native operands);
limb_kernels gains VerifyLoadWindow. A mutation run catches 16 of 21 mutants; the other five
are a d... (continued)

158 of 160 new or added lines in 5 files covered. (98.75%)

53916 of 61234 relevant lines covered (88.05%)

9576664.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.94
-0.37% include/sw/universal/number/efloat/math/exponent.hpp
Jobs
ID Job ID Ran Files Coverage
1 39956559783.1 23 Oct 2026 01:13PM UTC 761
88.05
GitHub Action Run
Source Files on build 39956559783
  • Tree
  • List 761
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39956559783
  • 053fd703 on github
  • Prev Build on main (#39907638163)
  • Next Build on main (#39963764144)
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