remove implementation detail from doc

This commit is contained in:
Trevor Spiteri
2018-01-09 12:26:00 +01:00
parent 0eba4c206a
commit 6d82e7814f
2 changed files with 4 additions and 4 deletions

View File

@@ -470,9 +470,9 @@ impl f32 {
return unsafe { intrinsics::logf32(self) }; return unsafe { intrinsics::logf32(self) };
} }
/// Returns the logarithm of the number with respect to an arbitrary base, /// Returns the logarithm of the number with respect to an arbitrary base.
/// calculated as `self.ln() / base.ln()`.
/// ///
/// The result may not be correctly rounded owing to implementation details;
/// `self.log2()` can produce more accurate results for base 2, and /// `self.log2()` can produce more accurate results for base 2, and
/// `self.log10()` can produce more accurate results for base 10. /// `self.log10()` can produce more accurate results for base 10.
/// ///

View File

@@ -430,9 +430,9 @@ impl f64 {
self.log_wrapper(|n| { unsafe { intrinsics::logf64(n) } }) self.log_wrapper(|n| { unsafe { intrinsics::logf64(n) } })
} }
/// Returns the logarithm of the number with respect to an arbitrary base, /// Returns the logarithm of the number with respect to an arbitrary base.
/// calculated as `self.ln() / base.ln()`.
/// ///
/// The result may not be correctly rounded owing to implementation details;
/// `self.log2()` can produce more accurate results for base 2, and /// `self.log2()` can produce more accurate results for base 2, and
/// `self.log10()` can produce more accurate results for base 10. /// `self.log10()` can produce more accurate results for base 10.
/// ///