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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-2111-fixpnt
DEFAULT BRANCH: master
Ran 27 Oct 2026 10:59PM UTC
Jobs 1
Files 764
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

27 Oct 2026 10:36PM UTC coverage: 88.23% (+0.01%) from 88.219%
40596158543

push

github

web-flow
feat(efloat): parse and the constants pi, e and phi in constant evaluation (#1848)

* feat(efloat): parse and the constants pi, e and phi in constant evaluation

Phase 5 of #1819.

- parse() takes a std::string_view and is constexpr; a constant evaluation reads a
  literal as the run time does, bit for bit. assign(), efloat_pi/e/phi() and
  efloat_pi_2/pi_4() are constexpr with it; the run time still parses each literal
  once per instantiation.
- utility/decimal_to_binary.hpp, the converter shared with cfloat, posit, dd, qd,
  areal and hfloat, is constexpr. Its <cmath> magnitude estimate (a short literal
  with a huge exponent) refuses in a constant evaluation.
- integer<> multiplication past 16 limbs skips zero rows and ends each row at the
  multiplicand's last nonzero limb: the converter at 16384 bits had multiplied
  512x512 limbs to collect 9 digits. Same products; parsing pi at 1024 bits goes
  from 6.1 ms to 0.11 ms, and full-width products at 768-1024 bits are 1.6-1.9x
  faster. Up to 16 limbs the unrolled fixed-trip loop is unchanged.
- to_double_expansion<N>(efloat) returns N doubles (hi/lo for dd, four for qd) for
  handing a value out of a constant evaluation.
- elastic/efloat/conversion/constexpr_parse.cpp: 24 literals by the compiler vs the
  run time, ties to even and failures in static_assert, pi/e/phi at 128 and 1024
  bits (3300 at level 2), pi from its literal == acos(-1), pi as dd and qd. CMake
  raises the constexpr step limits for the test.

Run-time results unchanged: 66176 efloat parses, integer<> products at seven
widths, and cfloat/posit/dd/qd parses are identical to main under gcc and clang.

Relates to #1819

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

* test(efloat): point the qd_pi check at #1849

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

* docs(efloat): the history row's PR number

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

67 of 67 new or added lines in 4 files covered. (100.0%)

55142 of 62498 relevant lines covered (88.23%)

8812307.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40596158543.1 27 Oct 2026 10:59PM UTC 764
88.23
GitHub Action Run
Source Files on build 40596158543
  • Tree
  • List 764
  • Changed 6
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40596158543
  • 4116a512 on github
  • Prev Build on main (#40525921004)
  • Next Build on main (#40607525589)
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