File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -775,7 +775,9 @@ pub trait FloatCore: Num + NumCast + Neg<Output = Self> + PartialOrd + Copy {
775
775
fn to_radians ( self ) -> Self ;
776
776
777
777
/// Returns the mantissa, base 2 exponent, and sign as integers, respectively.
778
+ ///
778
779
/// The original number can be recovered by `sign * mantissa * 2 ^ exponent`.
780
+ /// This formula only works for zero, normal, and infinite numbers (per `classify()`)
779
781
///
780
782
/// # Examples
781
783
///
@@ -1861,7 +1863,9 @@ pub trait Float: Num + Copy + NumCast + PartialOrd + Neg<Output = Self> {
1861
1863
fn atanh ( self ) -> Self ;
1862
1864
1863
1865
/// Returns the mantissa, base 2 exponent, and sign as integers, respectively.
1866
+ ///
1864
1867
/// The original number can be recovered by `sign * mantissa * 2 ^ exponent`.
1868
+ /// This formula only works for zero, normal, and infinite numbers (per `classify()`)
1865
1869
///
1866
1870
/// ```
1867
1871
/// use num_traits::Float;
You can’t perform that action at this time.
0 commit comments