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

bitshifter / glam-rs / 37108168625
99%

Build:
DEFAULT BRANCH: main
Ran 03 Oct 2026 08:00AM UTC
Jobs 4
Files 154
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

03 Oct 2026 07:59AM UTC coverage: 99.037%. Remained the same
37108168625

push

github

web-flow
feat(floatext): add `lerp_monotonic` to `FloatExt` (#866)

# Objective

- Reintroduce `FloatExt::lerp_monotonic`, which was removed from
`FloatExt` in #865 because adding a required method to the public trait
was breaking at the time.
- `FloatExt` (and the swizzle traits) are now sealed (#891), so the
trait can gain methods without breaking downstream implementors.

## Solution

- Add `FloatExt::lerp_monotonic` using the monotone form `self + (rhs -
self) * s` for `f32` and `f64`.
- Use it in `Vec3`/`Vec3A`/`DVec3` `slerp` length interpolation,
replacing the inlined monotone expression. Behavior is unchanged
(identical expression).
- Document the tradeoff versus `lerp`: monotonic in `s` and preserves
equal inputs exactly, but `rhs - self` is evaluated first, so it is less
accurate when the inputs differ greatly in magnitude and overflows to
infinity for opposite-sign extremes.
- Tests: `tests/float.rs::test_lerp_monotonic` covers endpoints,
extrapolation, exactness for equal inputs, and the documented overflow
behavior.

## Checklist

- [x] `cargo run -p ci` passes.
- [x] PR title follows [Conventional
Commits](CONTRIBUTING.md#pull-request-titles); mark breaking changes
with `!`.

18 of 18 new or added lines in 8 files covered. (100.0%)

93455 of 94364 relevant lines covered (99.04%)

122863.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 scalar_math-ubuntu-latest - 37108168625.1 03 Oct 2026 08:00AM UTC 121
98.88
GitHub Action Run
2 core_simd-ubuntu-latest - 37108168625.2 03 Oct 2026 08:00AM UTC 121
98.88
GitHub Action Run
3 native_simd-macos-latest - 37108168625.3 03 Oct 2026 08:01AM UTC 122
98.89
GitHub Action Run
4 native_simd-ubuntu-latest - 37108168625.4 03 Oct 2026 08:00AM UTC 122
98.91
GitHub Action Run
Source Files on build 37108168625
  • Tree
  • List 154
  • Changed 8
  • Source Changed 8
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37108168625
  • 9fffc1c2 on github
  • Prev Build on main (#37106921257)
  • Next Build on main (#37115585282)
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