File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -1089,7 +1089,6 @@ impl f32 {
10891089 /// assert!((-3.0f32).clamp(-2.0f32, 1.0f32) == -2.0f32);
10901090 /// assert!((0.0f32).clamp(-2.0f32, 1.0f32) == 0.0f32);
10911091 /// assert!((2.0f32).clamp(-2.0f32, 1.0f32) == 1.0f32);
1092- /// assert!((NAN).clamp(-2.0f32, 1.0f32) == NAN);
10931092 /// ```
10941093 #[ unstable( feature = "clamp" , issue = "44095" ) ]
10951094 #[ inline]
Original file line number Diff line number Diff line change @@ -979,7 +979,6 @@ impl f64 {
979979 /// assert!((-3.0f64).clamp(-2.0f64, 1.0f64) == -2.0f64);
980980 /// assert!((0.0f64).clamp(-2.0f64, 1.0f64) == 0.0f64);
981981 /// assert!((2.0f64).clamp(-2.0f64, 1.0f64) == 1.0f64);
982- /// assert!((NAN).clamp(-2.0f64, 1.0f64) == NAN);
983982 /// ```
984983 #[ unstable( feature = "clamp" , issue = "44095" ) ]
985984 #[ inline]
You can’t perform that action at this time.
0 commit comments