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

dblock / excalc-rs / 36027644169
98%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2026 04:29PM UTC
Jobs 3
Files 16
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 04:28PM UTC coverage: 98.896% (-0.2%) from 99.087%
36027644169

push

github

dblock
Add base conversion: hex/oct/bin functions and 0x/0o/0b literals

Adds hex(n)/oct(n)/bin(n) to format a non-negative integer as a
0x/0o/0b-prefixed string, and 0x/0o/0b-prefixed numeric literals to parse
hex/octal/binary numbers as ordinary values usable anywhere in an
expression (arithmetic, variables, function arguments, mixed bases).

This introduces the crate's first non-numeric result type: eval() now
returns a Value enum (Number/Text), with a new evaluate_value() entry
point in lib.rs. The existing evaluate() (f64) API is preserved unchanged
for backward compatibility, erroring with NotANumber if the result is
text. excalc-mcp and the CLI now use evaluate_value() so hex/oct/bin
output works end-to-end.

Adds docs/functions/base-conversion.md, README examples, and extends
tests/readme_examples.rs to support string-typed expected values.

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

156 of 165 new or added lines in 6 files covered. (94.55%)

3 existing lines in 2 files now uncovered.

3941 of 3985 relevant lines covered (98.9%)

193420.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
98.95
-1.05% src/eval.rs
1
99.59
-0.41% src/lexer.rs

Coverage Regressions

Lines Coverage ∆ File
2
99.32
-0.68% src/functions/stats.rs
1
99.39
-0.12% src/functions/number_theory.rs
Jobs
ID Job ID Ran Files Coverage
1 windows-latest - 36027644169.1 24 Sep 2026 04:29PM UTC 16
98.42
GitHub Action Run
2 macos-latest - 36027644169.2 24 Sep 2026 04:29PM UTC 16
98.64
GitHub Action Run
3 ubuntu-latest - 36027644169.3 24 Sep 2026 04:29PM UTC 16
98.64
GitHub Action Run
Source Files on build 36027644169
  • Tree
  • List 16
  • Changed 8
  • Source Changed 8
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36027644169
  • fe6c1abb on github
  • Prev Build on master (#36025431527)
  • Next Build on master (#36027773547)
  • 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