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

mattwparas / steel / 19916207611
45%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2025 03:24AM UTC
Jobs 1
Files 121
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

04 Dec 2025 03:02AM UTC coverage: 49.252% (-0.07%) from 49.323%
19916207611

push

github

web-flow
don't crash in log procedure (#575)

* stop steel from crashing in log procedure

before:

```
λ > (log 0 10)

thread 'main' (911264) panicked at crates/steel-core/src/primitives/numbers.rs:2014:78:
argument of integer logarithm must be positive
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

after:

```
λ > (log 0 10)
error[E11]: Generic
  ┌─ :1:2
  │
1 │ (log 0 10)
  │  ^^^ log: division by zero (log 0 10)
```

* make (log) always return an inexact number

this is for two reasons:

1. the r7rs spec defines log as an "inexact library procedure" and all
implementations i tested always return a float

2. with this change `(= (log x y) (/ (log x) (log y))` also holds true
when x and y are both integers.

* fix log tests

3 of 6 new or added lines in 1 file covered. (50.0%)

30 existing lines in 7 files now uncovered.

15937 of 32358 relevant lines covered (49.25%)

3260009.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
56.1
-0.34% crates/steel-core/src/primitives/numbers.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
62.11
-2.11% crates/steel-core/src/values/functions.rs
3
12.7
-4.76% crates/steel-core/src/core/instructions.rs
3
56.1
-0.34% crates/steel-core/src/primitives/numbers.rs
3
42.38
0.0% crates/steel-core/src/primitives.rs
5
58.31
-1.17% crates/steel-core/src/values/structs.rs
7
34.91
-0.32% crates/steel-core/src/rvals.rs
7
36.7
-2.62% crates/steel-core/src/steel_vm/transducers.rs
Jobs
ID Job ID Ran Files Coverage
1 19916207611.1 04 Dec 2025 03:24AM UTC 121
49.25
GitHub Action Run
Source Files on build 19916207611
  • Tree
  • List 121
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 43b85f19 on github
  • Prev Build on master (#19903613532)
  • Next Build on master (#19916944211)
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