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

dblock / excalc-rs / 35952664555
98%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2026 03:44AM UTC
Jobs 1
Files 14
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

24 Sep 2026 03:43AM UTC coverage: 99.707% (+0.001%) from 99.706%
35952664555

push

github

dblock
Implement general-purpose numeric integration

Ports the last remaining deferred category: trapezoid (trapez,
trapezoide), simpson, newton, boole, ordersix (ordresix), weddle (named
composite Newton-Cotes rules over a whole-number sub-interval count),
and int (gauss) (adaptive quadrature refining to a requested tolerance).

These are the only functions in v1 that take an unevaluated expression
and a bare variable as arguments rather than plain numbers, so the
evaluator special-cases their names in eval() before generic argument
evaluation, substituting the variable in a scoped copy of the context
for each sample point. The pure quadrature math lives in
src/functions/integration.rs, operating on a caller-supplied sampling
closure so it stays decoupled from the AST/Context types.

int/gauss port the original's Tegral/Gauss (Hairer's Gauss-Kronrod
quadrature with Aitken extrapolation) 'in spirit' via adaptive composite
Simpson's rule, matching the same tradeoff already made for
integration-dependent advanced/special functions, rather than
reproducing that algorithm's hardcoded coefficient tables.

Updates DESIGN.md, docs/README.md, adds docs/functions/numeric-integration.md,
folds the now-implemented note into advanced.md, adds README examples, and
updates CHANGELOG.md. This closes out every function category originally
planned for the port.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

349 of 350 new or added lines in 2 files covered. (99.71%)

3062 of 3071 relevant lines covered (99.71%)

66563.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.52
src/functions/integration.rs
Jobs
ID Job ID Ran Files Coverage
1 35952664555.1 24 Sep 2026 03:44AM UTC 14
99.71
GitHub Action Run
Source Files on build 35952664555
  • Tree
  • List 14
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35952664555
  • 4a1b88a9 on github
  • Prev Build on master (#35951896677)
  • Next Build on master (#35985385417)
  • Delete
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