rollup merge of #18392 : cakebaker/remove_double_negation
This commit is contained in:
@@ -1502,7 +1502,7 @@ pub trait Float: Signed + Primitive {
|
|||||||
|
|
||||||
/// Take the square root of a number.
|
/// Take the square root of a number.
|
||||||
///
|
///
|
||||||
/// Returns NaN if `self` is not a non-negative number.
|
/// Returns NaN if `self` is a negative number.
|
||||||
fn sqrt(self) -> Self;
|
fn sqrt(self) -> Self;
|
||||||
/// Take the reciprocal (inverse) square root of a number, `1/sqrt(x)`.
|
/// Take the reciprocal (inverse) square root of a number, `1/sqrt(x)`.
|
||||||
fn rsqrt(self) -> Self;
|
fn rsqrt(self) -> Self;
|
||||||
|
|||||||
Reference in New Issue
Block a user