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

stillwater-sc / universal / 25994639561
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 17 May 2026 03:43PM UTC
Jobs 1
Files 652
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

17 May 2026 03:15PM UTC coverage: 84.051% (+0.02%) from 84.033%
25994639561

push

github

web-flow
feat: operator>> hygiene + ereal nan/inf for decimal/elastic family (Phase E of #835) (#858)

* feat: operator>> hygiene + ereal nan/inf token routing for decimal/elastic family (Phase E of #835)

Phase E wraps up the decimal/elastic family with minimal API parity work.
Six types covered (dfloat, einteger, edecimal, erational, efloat, ereal);
full-implementation work for each is captured in dedicated tracking
issues #852-#857 since the gaps vary significantly per type.

What ships in this PR (per type):

dfloat:
  - operator>> extraction guard + setstate(failbit). Existing assign()
    already implements full nan/inf-aware decimal parsing; no parse()
    body changes here.

einteger:
  - operator>> extraction guard + setstate(failbit).
  - Fixed pre-existing copy-paste typo "into a posit value" ->
    "into an einteger value".

edecimal:
  - operator>> extraction guard + setstate(failbit).

erational:
  - operator>> extraction guard + setstate(failbit).

efloat:
  - operator>> extraction guard + setstate(failbit). parse() body
    remains a stub; full implementation tracked in #856.

ereal:
  - operator>> extraction guard + setstate(failbit).
  - Added nan / inf / infinity token detection (case-insensitive,
    optional sign) before the digit-accumulation loop, routing to
    setnan / setinf(sign). The digit loop would otherwise reject any
    alphabetic character outright.

Tests (6 new files, ReportTestSuite pattern):
  - static/float/dfloat/conversion/string_parse.cpp
  - elastic/einteger/conversion/string_parse.cpp
  - elastic/decimal/conversion/string_parse.cpp
  - elastic/rational/decimal/conversion/string_parse.cpp
  - elastic/efloat/conversion/string_parse.cpp
  - elastic/ereal/conversion/string_parse.cpp

Each covers: canonical parse where supported, nan/inf token routing
where supported, operator>> failbit on a bad token. Tests intentionally
stay narrow -- broader coverage will land with the per-type full
implementations in #852-#857.

Verif... (continued)

75 of 80 new or added lines in 6 files covered. (93.75%)

32 existing lines in 3 files now uncovered.

46609 of 55453 relevant lines covered (84.05%)

6432960.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
88.25
1.92% include/sw/universal/number/dfloat/dfloat_impl.hpp
1
94.39
0.32% include/sw/universal/number/edecimal/edecimal_impl.hpp
1
84.86
0.19% include/sw/universal/number/einteger/einteger_impl.hpp
1
66.41
1.11% include/sw/universal/number/erational/erational_impl.hpp
1
76.67
1.19% include/sw/universal/number/ereal/ereal_impl.hpp

Coverage Regressions

Lines Coverage ∆ File
21
66.41
1.11% include/sw/universal/number/erational/erational_impl.hpp
8
93.63
-0.47% include/sw/universal/number/cfloat/cfloat_impl.hpp
3
80.8
-0.45% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
Jobs
ID Job ID Ran Files Coverage
1 25994639561.1 17 May 2026 03:43PM UTC 652
84.05
GitHub Action Run
Source Files on build 25994639561
  • Tree
  • List 652
  • Changed 9
  • Source Changed 6
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25994639561
  • 30a19d4a on github
  • Prev Build on main (#25990604877)
  • Next Build on main (#26001208466)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc