提交 88bd304a 编写于 作者: M Michael Howell
上级 fe5f5912
......@@ -822,6 +822,7 @@ pub fn exp_m1(self) -> f32 {
///
/// assert!(abs_difference < 1e-10);
/// ```
#[doc(alias = "log1p")]
#[rustc_allow_incoherent_impl]
#[must_use = "method returns a new number and does not mutate the original value"]
#[stable(feature = "rust1", since = "1.0.0")]
......
......@@ -822,6 +822,7 @@ pub fn exp_m1(self) -> f64 {
///
/// assert!(abs_difference < 1e-20);
/// ```
#[doc(alias = "log1p")]
#[rustc_allow_incoherent_impl]
#[must_use = "method returns a new number and does not mutate the original value"]
#[stable(feature = "rust1", since = "1.0.0")]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册