(self, base: f32)
| 267 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 268 | #[inline] |
| 269 | fn log(self, base: f32) -> f32 { |
| 270 | self.ln() / base.ln() |
| 271 | } |
| 272 | |
| 273 | /// Returns the base 2 logarithm of the number. |
| 274 | #[must_use = "method returns a new number and does not mutate the original value"] |