mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
Rollup merge of #93026 - klensy:f-typo, r=scottmcm
fix typo in `max` description for f32/f64
This commit is contained in:
@@ -675,7 +675,7 @@ pub fn to_radians(self) -> f32 {
|
||||
/// Returns the maximum of the two numbers.
|
||||
///
|
||||
/// Follows the IEEE-754 2008 semantics for maxNum, except for handling of signaling NaNs.
|
||||
/// This matches the behavior of libm’s fmin.
|
||||
/// This matches the behavior of libm’s fmax.
|
||||
///
|
||||
/// ```
|
||||
/// let x = 1.0f32;
|
||||
|
||||
@@ -691,7 +691,7 @@ pub fn to_radians(self) -> f64 {
|
||||
/// Returns the maximum of the two numbers.
|
||||
///
|
||||
/// Follows the IEEE-754 2008 semantics for maxNum, except for handling of signaling NaNs.
|
||||
/// This matches the behavior of libm’s fmin.
|
||||
/// This matches the behavior of libm’s fmax.
|
||||
///
|
||||
/// ```
|
||||
/// let x = 1.0_f64;
|
||||
|
||||
Reference in New Issue
Block a user