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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 21 Oct 2026 02:48AM UTC
Jobs 1
Files 760
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

21 Oct 2026 02:35AM UTC coverage: 87.724% (+0.008%) from 87.716%
39533877603

push

github

web-flow
fix(efloat): correctly rounded exp2, exp10, expm1, log2, log10, log1p, hyperbolic, inverse trig and pow (#1774)

Every remaining efloat elementary function now rounds correctly in all four
modes by Ziv's strategy (#1763): an unrounded evaluation at the result's
precision plus guard bits, retried at twice the target near a rounding
boundary. Exact values are formed outright and rounded once: 2^k, 10^k where
5^k fits a boundary, log2(2^k), log10(10^k), acosh(1) = acos(1) = +0, and the
powers x^y that may lie on a boundary. Tiny arguments round as the leading
term nudged toward the next.

- atanh works on |x|: near -1 it was up to 2^900 ulp off.
- pow(x, int) uses binary powering at bit_width(n) more bits under Ziv: the
  repeated rounded products were up to 32 ulp off in every mode.
- asin, acos, atan and atan2 share an atan with argument halving: 2-20x faster.
- expm1 sums its series without the leading 1 and doubles back by u (u + 2);
  exp_working halves only what brings r below its threshold.
- pow and atan2 follow IEEE-754 at signed zeros and infinities; special values
  carry the result's precision; exact powers are returned past exp's 2^17
  range when the exponent holds them.

Against MPFR, 228,000 cases from 32 to 8192 bits: main had 3,630 of 76,000
wrong, this none. New tests VerifyRemainingFunctionsNearRoundingBoundaries and
VerifyExactValues in exp_log_precision.cpp; main fails them 2,522 times.

BEHAVIOUR-CHANGE: efloat exp2, exp10, expm1, log2, log10, log1p, sinh, cosh, tanh, asinh, acosh, atanh, asin, acos, atan, atan2 and pow are correctly rounded in every rounding mode (directed-mode results move by 1 ulp, pow(x, int) by up to 32, atanh near -1 by far more)
BEHAVIOUR-CHANGE: efloat pow and atan2 follow IEEE-754 at signed zeros and infinities (atan2(+-0, -0) = +-pi, atan2(-0, x < 0) = -pi, pow(-0, odd) = -0, pow(x, +-inf), pow(+-inf, y)), and an operand that carries no precision no longer widens their result (#1757)
BEHAVIOUR-CHANGE: efl... (continued)

477 of 511 new or added lines in 5 files covered. (93.35%)

1 existing line in 1 file now uncovered.

52736 of 60116 relevant lines covered (87.72%)

9200108.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
87.33
-6.7% include/sw/universal/number/efloat/math/pow.hpp
10
93.78
2.6% include/sw/universal/number/efloat/math/exponent.hpp
5
95.53
-2.34% include/sw/universal/number/efloat/math/hyperbolic.hpp
1
86.11
0.4% include/sw/universal/number/efloat/math/logarithm.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 39533877603.1 21 Oct 2026 02:47AM UTC 760
87.72
GitHub Action Run
Source Files on build 39533877603
  • Tree
  • List 760
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39533877603
  • d57bc3ee on github
  • Prev Build on main (#39514877807)
  • Next Build on main (#39589026109)
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