(self)
| 252 | #[must_use = "method returns a new number and does not mutate the original value"] |
| 253 | #[inline] |
| 254 | fn ln(self) -> f32 { |
| 255 | #[cfg(not(any(target_arch = "nvptx", target_arch = "nvptx64")))] |
| 256 | let val = self.ln(); |
| 257 | #[cfg(any(target_arch = "nvptx", target_arch = "nvptx64"))] |
| 258 | let val = { unsafe { intrinsics::logf(self) } }; |
| 259 | val |
| 260 | } |
| 261 | |
| 262 | /// Returns the logarithm of the number with respect to an arbitrary base. |
| 263 | /// |
no outgoing calls
no test coverage detected