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

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

Build:
Build:
LAST BUILD BRANCH: losborn_bugfix_elreal_subnormal_blocks_aug26
DEFAULT BRANCH: master
Ran 21 Jul 2026 12:58PM UTC
Jobs 1
Files 701
Run time 2min
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 Jul 2026 12:25PM UTC coverage: 84.809% (+0.05%) from 84.763%
29830039050

push

github

web-flow
feat(tools): accuracy-vs-compute-time characterization for elreal and ereal (#1174)

* feat(tools): accuracy-vs-compute-time characterization for elreal and ereal

New benchmark/accuracy/adaptive/characterize.cpp maps, for the two adaptive-
precision real oracles, the relationship between accuracy, the precision knob,
and wall-clock time -- so library default depths can be chosen from evidence.

For each function it sweeps the knob (elreal `depth` at runtime; ereal limb count
`N` over a fixed compile-time list {2,4,8,12,16}) and reports:
  * median wall-clock time per evaluation, and
  * accuracy as decimal digits of agreement with an independent ~320-digit
    reference (math/constants/reference_constants.hpp), via the exact dyadic
    oracle -- verification/elreal_reference_digits.hpp's zbcl_to_dyadic +
    agreed_decimal_digits for elreal, and a limb-sum dyadic for ereal -- plus
    correct bits and an implied relative error.

Output is a CSV (type, FpType, function, depth, time_ns, correct_digits,
correct_bits, rel_error) followed by a per-function saturation-depth + accuracy/
time-knee summary and an elreal-vs-ereal comparison (cheapest config reaching a
target accuracy). Functions: sqrt/exp/log/sin/cos/tan/sinh/cosh/tanh against
their reference values, plus add/mul/div timing (accuracy exact, so time-only).
A gnuplot script renders the accuracy-vs-time Pareto curves.

Usage: characterize [maxDepth=3] [reps=3]; raise maxDepth for a full run (the
elreal transcendentals cost 100s of ms at depth >= 4). Registered with
compile_all("false") -- it builds in CI but is a measurement utility, not a
pass/fail ctest. Host FpType fixed to double; the float/bfloat16/fp16 host matrix
is a follow-up.

Validated on gcc and clang. This is a measurement tool only; it does not touch
the implementations.

Resolves #1040

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

* fix(tools): add optimizer barrier to ereal timing + fix usage comment (Code... (continued)

49867 of 58799 relevant lines covered (84.81%)

6846754.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29830039050.1 21 Jul 2026 12:58PM UTC 701
84.81
GitHub Action Run
Source Files on build 29830039050
  • Tree
  • List 701
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29830039050
  • 9460f3d0 on github
  • Prev Build on main (#29752641526)
  • Next Build on main (#29844909844)
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