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

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

Build:
Build:
LAST BUILD BRANCH: feat/issue-2121-parameterized-reference
DEFAULT BRANCH: master
Ran 20 Oct 2026 11:32PM 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

20 Oct 2026 11:14PM UTC coverage: 87.709% (+0.01%) from 87.699%
39513744910

push

github

web-flow
fix(efloat): correctly rounded exp, sin, cos and tan in every rounding mode (#1772)

…g mode

Against MPFR, exp, sin and tan were 1 ulp off in the directed modes on
1,055 of 53,728 cases: a tiny argument's next term (x^3/6, x^3/3, x^2/2)
lay below the 64 guard bits, so the computed value was exactly x or 1 + x
and could not be rounded toward the right side, and short arguments landed
within ~2^-2k of a rounding boundary.

Tiny arguments now round as the leading value nudged toward the known sign
of the correction (round_near, as MPFR's mpfr_round_near_x); everything else
goes through Ziv's loop (round_ziv, can_round from #1771), log included.
exp and sin/cos/tan are split into unrounded evaluations (exp_working,
trig_working); reduce_half_pi now keeps the full guard bits near multiples
of pi/2 so the error bound Ziv relies on holds. 0 of 53,728 wrong; speed
unchanged.

Part of #1763

BEHAVIOUR-CHANGE: efloat exp, sin, cos and tan are now correctly rounded in the directed rounding modes; tiny and short arguments returned results 1 ulp off

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

88 of 91 new or added lines in 3 files covered. (96.7%)

1 existing line in 1 file now uncovered.

52542 of 59905 relevant lines covered (87.71%)

9229636.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.91
0.66% include/sw/universal/number/efloat/math/trigonometry.hpp
1
91.18
0.77% include/sw/universal/number/efloat/math/exponent.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 39513744910.1 20 Oct 2026 11:31PM UTC 760
87.71
GitHub Action Run
Source Files on build 39513744910
  • Tree
  • List 760
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39513744910
  • 64d10c51 on github
  • Prev Build on main (#39505294109)
  • Next Build on main (#39514877807)
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