(self)
| 182 | |
| 183 | #[must_use] |
| 184 | pub fn to_fixed(self) -> Self { |
| 185 | if self.0 < 0. { |
| 186 | return self; |
| 187 | } |
| 188 | Self(if self.0 > 0. { -self.0 } else { -1. }) |
| 189 | } |
| 190 | |
| 191 | #[inline] |
| 192 | #[cfg_attr(debug_assertions, track_caller)] |
no outgoing calls
no test coverage detected