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

stillwater-sc / universal / 29693359164
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: losborn_bugfix_elreal_subnormal_blocks_aug26
DEFAULT BRANCH: master
Ran 19 Jul 2026 04:24PM UTC
Jobs 1
Files 698
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 Jul 2026 03:41PM UTC coverage: 84.725% (-0.002%) from 84.727%
29693359164

push

github

web-flow
feat(efloat): give hypot its own math/hypot.hpp header + dedicated regression test (#1158)

efloat's hypot(x,y) already existed and works well -- a native scale-by-max
implementation (sqrt(x^2+y^2) without intermediate over/underflow) on efloat's
own arithmetic, so it is full-precision, not a double-delegating shim. But it
lived inside sqrt.hpp and had no dedicated test. This aligns efloat with the
repository-wide one-function-per-header structure the other number systems use.

- Move hypot from math/sqrt.hpp into new math/hypot.hpp (which includes sqrt.hpp
  for its sqrt dependency). No behavioral change. sqrt.hpp title updated to
  "square root and cube root".
- Wire math/hypot.hpp into mathlib.hpp after sqrt.hpp. Safe: only mathlib.hpp
  and hyperbolic.hpp include sqrt.hpp directly, and hyperbolic needs only sqrt;
  every consumer reaches hypot through the mathlib umbrella.
- Add elastic/efloat/math/hypot.cpp: exact Pythagorean values, symmetry
  (hypot(x,y)==hypot(y,x)==hypot(x,-y)), zero cases, overflow/underflow
  prevention (hypot(3e200,4e200), hypot(3e-200,4e-200)), IEEE special values
  (inf suppresses NaN), and two 512-bit oracle identities (hypot^2==x^2+y^2 and
  hypot(1,1)==sqrt(2), agreeing to < 2^-400).

Existing sqrt_precision.cpp and math.cpp (which also exercise hypot) still build
and PASS on gcc and clang.

Resolves #1121

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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

10 existing lines in 1 file now uncovered.

49680 of 58637 relevant lines covered (84.72%)

7039400.13 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
31.43
-3.57% include/sw/universal/verification/test_suite_randoms.hpp
Jobs
ID Job ID Ran Files Coverage
1 29693359164.1 19 Jul 2026 04:24PM UTC 698
84.72
GitHub Action Run
Source Files on build 29693359164
  • Tree
  • List 698
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29693359164
  • 19992906 on github
  • Prev Build on main (#29692704351)
  • Next Build on main (#29703104434)
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