rollup merge of #18392 : cakebaker/remove_double_negation
This commit is contained in:
commit
cda554aaf9
1 changed files with 1 additions and 1 deletions
|
|
@ -1502,7 +1502,7 @@ pub trait Float: Signed + Primitive {
|
|||
|
||||
/// 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;
|
||||
/// Take the reciprocal (inverse) square root of a number, `1/sqrt(x)`.
|
||||
fn rsqrt(self) -> Self;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue