File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -470,9 +470,9 @@ impl f32 {
470470 return unsafe { intrinsics:: logf32 ( self ) } ;
471471 }
472472
473- /// Returns the logarithm of the number with respect to an arbitrary base,
474- /// calculated as `self.ln() / base.ln()`.
473+ /// Returns the logarithm of the number with respect to an arbitrary base.
475474 ///
475+ /// The result may not be correctly rounded owing to implementation details;
476476 /// `self.log2()` can produce more accurate results for base 2, and
477477 /// `self.log10()` can produce more accurate results for base 10.
478478 ///
Original file line number Diff line number Diff line change @@ -430,9 +430,9 @@ impl f64 {
430430 self . log_wrapper ( |n| { unsafe { intrinsics:: logf64 ( n) } } )
431431 }
432432
433- /// Returns the logarithm of the number with respect to an arbitrary base,
434- /// calculated as `self.ln() / base.ln()`.
433+ /// Returns the logarithm of the number with respect to an arbitrary base.
435434 ///
435+ /// The result may not be correctly rounded owing to implementation details;
436436 /// `self.log2()` can produce more accurate results for base 2, and
437437 /// `self.log10()` can produce more accurate results for base 10.
438438 ///
You can’t perform that action at this time.
0 commit comments