@@ -505,8 +505,8 @@ pub trait FloatCore: Num + NumCast + Neg<Output = Self> + PartialOrd + Copy {
505
505
}
506
506
507
507
/// Returns `true` if `self` is positive, including `+0.0` and
508
- /// `FloatCore::infinity()`, and with newer versions of Rust
509
- /// even `FloatCore::nan()`.
508
+ /// `FloatCore::infinity()`, and since Rust 1.20 also
509
+ /// `FloatCore::nan()`.
510
510
///
511
511
/// # Examples
512
512
///
@@ -532,8 +532,8 @@ pub trait FloatCore: Num + NumCast + Neg<Output = Self> + PartialOrd + Copy {
532
532
}
533
533
534
534
/// Returns `true` if `self` is negative, including `-0.0` and
535
- /// `FloatCore::neg_infinity()`, and with newer versions of Rust
536
- /// even `-FloatCore::nan()`.
535
+ /// `FloatCore::neg_infinity()`, and since Rust 1.20 also
536
+ /// `-FloatCore::nan()`.
537
537
///
538
538
/// # Examples
539
539
///
@@ -1196,7 +1196,7 @@ pub trait Float
1196
1196
fn signum ( self ) -> Self ;
1197
1197
1198
1198
/// Returns `true` if `self` is positive, including `+0.0`,
1199
- /// `Float::infinity()`, and with newer versions of Rust `f64::NAN `.
1199
+ /// `Float::infinity()`, and since Rust 1.20 also `Float::nan() `.
1200
1200
///
1201
1201
/// ```
1202
1202
/// use num_traits::Float;
@@ -1214,7 +1214,7 @@ pub trait Float
1214
1214
fn is_sign_positive ( self ) -> bool ;
1215
1215
1216
1216
/// Returns `true` if `self` is negative, including `-0.0`,
1217
- /// `Float::neg_infinity()`, and with newer versions of Rust `-f64::NAN `.
1217
+ /// `Float::neg_infinity()`, and since Rust 1.20 also `-Float::nan() `.
1218
1218
///
1219
1219
/// ```
1220
1220
/// use num_traits::Float;
0 commit comments