File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,9 @@ impl f32 {
673
673
674
674
/// Returns the maximum of the two numbers.
675
675
///
676
+ /// Follows the IEEE-754 2008 semantics for maxNum, except for handling of signaling NaNs.
677
+ /// This match’s the behavior of libm’s fmin.
678
+ ///
676
679
/// ```
677
680
/// let x = 1.0f32;
678
681
/// let y = 2.0f32;
@@ -689,6 +692,9 @@ impl f32 {
689
692
690
693
/// Returns the minimum of the two numbers.
691
694
///
695
+ /// Follows the IEEE-754 2008 semantics for minNum, except for handling of signaling NaNs.
696
+ /// This match’s the behavior of libm’s fmin.
697
+ ///
692
698
/// ```
693
699
/// let x = 1.0f32;
694
700
/// let y = 2.0f32;
Original file line number Diff line number Diff line change @@ -689,6 +689,9 @@ impl f64 {
689
689
690
690
/// Returns the maximum of the two numbers.
691
691
///
692
+ /// Follows the IEEE-754 2008 semantics for maxNum, except for handling of signaling NaNs.
693
+ /// This match’s the behavior of libm’s fmin.
694
+ ///
692
695
/// ```
693
696
/// let x = 1.0_f64;
694
697
/// let y = 2.0_f64;
@@ -705,6 +708,9 @@ impl f64 {
705
708
706
709
/// Returns the minimum of the two numbers.
707
710
///
711
+ /// Follows the IEEE-754 2008 semantics for minNum, except for handling of signaling NaNs.
712
+ /// This match’s the behavior of libm’s fmin.
713
+ ///
708
714
/// ```
709
715
/// let x = 1.0_f64;
710
716
/// let y = 2.0_f64;
You can’t perform that action at this time.
0 commit comments