Revert "Add NAN examples"

This reverts commit f74c5d2e18.
This commit is contained in:
Jacob Kiesel 2017-09-08 16:07:19 -06:00
parent eafdad511f
commit 63f4dab0f5
2 changed files with 0 additions and 2 deletions

View File

@ -1089,7 +1089,6 @@ impl f32 {
/// assert!((-3.0f32).clamp(-2.0f32, 1.0f32) == -2.0f32);
/// assert!((0.0f32).clamp(-2.0f32, 1.0f32) == 0.0f32);
/// assert!((2.0f32).clamp(-2.0f32, 1.0f32) == 1.0f32);
/// assert!((NAN).clamp(-2.0f32, 1.0f32) == NAN);
/// ```
#[unstable(feature = "clamp", issue = "44095")]
#[inline]

View File

@ -979,7 +979,6 @@ 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!((NAN).clamp(-2.0f64, 1.0f64) == NAN);
/// ```
#[unstable(feature = "clamp", issue = "44095")]
#[inline]