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

mattwparas / steel / 19916207611 / 1
45%
master: 45%

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

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

15937 of 32358 relevant lines covered (49.25%)

3260009.1 hits per line

Source Files on job 19916207611.1
  • Tree
  • List 121
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19916207611
  • 43b85f19 on github
  • Prev Job for on master (#19903613532.1)
  • Next Job for on master (#19916944211.1)
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