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

bitshifter / glam-rs / 15533894541

09 Jun 2025 11:54AM UTC coverage: 81.646% (-14.5%) from 96.128%
15533894541

push

github

web-flow
Implement std::ops traits on references (#644)

9962 of 18030 new or added lines in 109 files covered. (55.25%)

39 existing lines in 13 files now uncovered.

43937 of 53814 relevant lines covered (81.65%)

3.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/src/f32/float.rs
1
// Generated from float.rs.tera template. Edit the template, not the generated file.
2

3
use crate::float::FloatExt;
4

5
impl FloatExt for f32 {
6
    #[inline]
7
    fn lerp(self, rhs: Self, t: Self) -> Self {
6✔
8
        self + (rhs - self) * t
6✔
9
    }
10

11
    #[inline]
12
    fn inverse_lerp(a: Self, b: Self, v: Self) -> Self {
3✔
13
        (v - a) / (b - a)
3✔
14
    }
15

16
    #[inline]
17
    fn remap(self, in_start: Self, in_end: Self, out_start: Self, out_end: Self) -> Self {
3✔
18
        let t = Self::inverse_lerp(in_start, in_end, self);
3✔
19
        Self::lerp(out_start, out_end, t)
3✔
20
    }
21

22
    #[inline]
NEW
23
    fn fract_gl(self) -> Self {
×
24
        self - crate::f32::math::floor(self)
×
25
    }
26
}
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