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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 16 Nov 2026 03:49AM UTC
Jobs 1
Files 895
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

16 Nov 2026 03:26AM UTC coverage: 89.153% (+0.02%) from 89.131%
43798240842

push

github

web-flow
feat(cfloat): evaluate the transcendentals of layouts past double in efloat, correctly rounded (#2093)

The engine half of #2088. As decided, a layout that fits a double (its range
inside double's and at most 52 fraction bits) keeps the host libm, and a wider
one evaluates in efloat. Through double, exp(710) on cfloat<64,15> was inf,
exp(-1500) on cfloat<128,15> was minpos, pow(3, 40) on cfloat<80,11> was
inexact, and hypotf narrowed to float and overflowed.

- math/efloat_bridge.hpp (new), cfloat_math:
  - fits_double / range_fits_double: the layout test;
  - to_efloat: exact, the whole significand;
  - from_efloat: rounds once through convert(blocktriple, cfloat), so
    subnormals, saturation and max-exponent values round as every cfloat
    operation does;
  - evaluate: Ziv's test on the cfloat side, as posit's (#1855), with the
    efloat rounding mode and flags restored on exit;
  - unary: NaN quieted, +-0 kept for odd functions.
  cfloat's range ends far inside efloat's, so an efloat inf or 0 is the
  cfloat's own overflow or underflow: no saturation policy is needed.
- exp, exp2, exp10, expm1, log, log2, log10, log1p, pow (cfloat, int and
  double exponents, the latter two exact in efloat), sin, cos, tan, asin,
  acos, atan, atan2, cot, sec, csc (1/f at 2W), sinh, cosh, tanh, asinh,
  acosh, atanh, erf, erfc and hypot take the efloat path for wide layouts.
  hypotf and hypotl are hypot.
- rsqrt did not compile (it called a reciprocate() cfloat does not have; no
  test called it). It is 1 / sqrt(a).
- exponent.hpp's range trait moved to the bridge; the narrow exp/exp2
  underflow is always 0 now that wide layouts no longer reach it.

Tests: math/wide_transcendentals (new)
- every function on cfloat<80,11> (68 fraction bits) and cfloat<96,15>
  against qd rounded once into the layout (all 1120 / 5600 cases fail on
  main);
- exp and log past double's range on cfloat<64,15> by reduction in qd, and
  exp2 / pow of powers of two exactly (25 failure... (continued)

130 of 132 new or added lines in 9 files covered. (98.48%)

1 existing line in 1 file now uncovered.

63707 of 71458 relevant lines covered (89.15%)

12647445.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.3
include/sw/universal/number/cfloat/math/efloat_bridge.hpp

Coverage Regressions

Lines Coverage ∆ File
1
35.02
-0.32% include/sw/universal/verification/test_suite_randoms.hpp
Jobs
ID Job ID Ran Files Coverage
1 43798240842.1 16 Nov 2026 03:49AM UTC 895
89.15
GitHub Action Run
Source Files on build 43798240842
  • Tree
  • List 895
  • Changed 10
  • Source Changed 8
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43798240842
  • 38f9e898 on github
  • Prev Build on main (#43785117344)
  • Next Build on main (#43806091513)
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