Fix f64 test
This commit is contained in:
parent
e2b5a0334d
commit
72f5d9137e
1 changed files with 1 additions and 1 deletions
|
|
@ -892,7 +892,7 @@ impl f64 {
|
|||
/// assert!((-3.0f64).clamp(-2.0f64, 1.0f64) == -2.0f64);
|
||||
/// assert!((0.0f64).clamp(-2.0f64, 1.0f64) == 0.0f64);
|
||||
/// assert!((2.0f64).clamp(-2.0f64, 1.0f64) == 1.0f64);
|
||||
/// assert!((std::f64::NAN).clamp(-2.0f32, 1.0f32).is_nan());
|
||||
/// assert!((std::f64::NAN).clamp(-2.0f64, 1.0f64).is_nan());
|
||||
/// ```
|
||||
#[unstable(feature = "clamp", issue = "44095")]
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue