| Age | Commit message (Collapse) | Author | Lines |
|
make exp_m1 and ln_1p examples more representative of use
With this PR, the examples for `exp_m1` would fail if `x.exp() - 1.0` is used instead of `x.exp_m1()`, and the examples for `ln_1p` would fail if `(x + 1.0).ln()` is used instead of `x.ln_1p()`.
|
|
Improve wording of `core::ptr::drop_in_place` docs
And two small intra-doc link conversions in `std::{f32, f64}`.
|
|
And two small intra-doc link conversions in `std::{f32, f64}`.
|
|
Signed-off-by: wcampbell <wcampbell1995@gmail.com>
|
|
With this commit, the examples for ln_1p would fail if (x + 1.0).ln()
is used instead of x.ln_1p().
|
|
With this commit, the examples for exp_m1 would fail if x.exp() - 1.0
is used instead of x.exp_m1().
|
|
Also doing fmt inplace as requested.
|
|
|