@@ -2949,9 +2949,9 @@ pub const unsafe fn write_bytes<T>(dst: *mut T, val: u8, count: usize);
29492949
29502950/// Returns the minimum of two `f16` values, ignoring NaN.
29512951///
2952- /// This behaves like IEEE 754-2008 minNum. In particular:
2953- /// If one of the arguments is NaN, then the other argument is returned . If the inputs compare equal
2954- /// (such as for the case of `+0.0` and `-0.0`), either input may be returned non-deterministically.
2952+ /// If one of the arguments is NaN (quiet or signaling), then the other argument is returned. If
2953+ /// both arguments are NaN, returns NaN . If the inputs compare equal (such as for the case of `+0.0`
2954+ /// and `-0.0`), either input may be returned non-deterministically.
29552955///
29562956/// Note that, unlike most intrinsics, this is safe to call;
29572957/// it does not require an `unsafe` block.
@@ -2965,9 +2965,9 @@ pub const fn minnumf16(x: f16, y: f16) -> f16;
29652965
29662966/// Returns the minimum of two `f32` values, ignoring NaN.
29672967///
2968- /// This behaves like IEEE 754-2008 minNum. In particular:
2969- /// If one of the arguments is NaN, then the other argument is returned . If the inputs compare equal
2970- /// (such as for the case of `+0.0` and `-0.0`), either input may be returned non-deterministically.
2968+ /// If one of the arguments is NaN (quiet or signaling), then the other argument is returned. If
2969+ /// both arguments are NaN, returns NaN . If the inputs compare equal (such as for the case of `+0.0`
2970+ /// and `-0.0`), either input may be returned non-deterministically.
29712971///
29722972/// Note that, unlike most intrinsics, this is safe to call;
29732973/// it does not require an `unsafe` block.
@@ -2982,9 +2982,9 @@ pub const fn minnumf32(x: f32, y: f32) -> f32;
29822982
29832983/// Returns the minimum of two `f64` values, ignoring NaN.
29842984///
2985- /// This behaves like IEEE 754-2008 minNum. In particular:
2986- /// If one of the arguments is NaN, then the other argument is returned . If the inputs compare equal
2987- /// (such as for the case of `+0.0` and `-0.0`), either input may be returned non-deterministically.
2985+ /// If one of the arguments is NaN (quiet or signaling), then the other argument is returned. If
2986+ /// both arguments are NaN, returns NaN . If the inputs compare equal (such as for the case of `+0.0`
2987+ /// and `-0.0`), either input may be returned non-deterministically.
29882988///
29892989/// Note that, unlike most intrinsics, this is safe to call;
29902990/// it does not require an `unsafe` block.
@@ -2999,9 +2999,9 @@ pub const fn minnumf64(x: f64, y: f64) -> f64;
29992999
30003000/// Returns the minimum of two `f128` values, ignoring NaN.
30013001///
3002- /// This behaves like IEEE 754-2008 minNum. In particular:
3003- /// If one of the arguments is NaN, then the other argument is returned . If the inputs compare equal
3004- /// (such as for the case of `+0.0` and `-0.0`), either input may be returned non-deterministically.
3002+ /// If one of the arguments is NaN (quiet or signaling), then the other argument is returned. If
3003+ /// both arguments are NaN, returns NaN . If the inputs compare equal (such as for the case of `+0.0`
3004+ /// and `-0.0`), either input may be returned non-deterministically.
30053005///
30063006/// Note that, unlike most intrinsics, this is safe to call;
30073007/// it does not require an `unsafe` block.
@@ -3115,9 +3115,9 @@ pub const fn minimumf128(x: f128, y: f128) -> f128 {
31153115
31163116/// Returns the maximum of two `f16` values, ignoring NaN.
31173117///
3118- /// This behaves like IEEE 754-2008 maxNum. In particular:
3119- /// If one of the arguments is NaN, then the other argument is returned . If the inputs compare equal
3120- /// (such as for the case of `+0.0` and `-0.0`), either input may be returned non-deterministically.
3118+ /// If one of the arguments is NaN (quiet or signaling), then the other argument is returned. If
3119+ /// both arguments are NaN, returns NaN . If the inputs compare equal (such as for the case of `+0.0`
3120+ /// and `-0.0`), either input may be returned non-deterministically.
31213121///
31223122/// Note that, unlike most intrinsics, this is safe to call;
31233123/// it does not require an `unsafe` block.
@@ -3131,9 +3131,9 @@ pub const fn maxnumf16(x: f16, y: f16) -> f16;
31313131
31323132/// Returns the maximum of two `f32` values, ignoring NaN.
31333133///
3134- /// This behaves like IEEE 754-2008 maxNum. In particular:
3135- /// If one of the arguments is NaN, then the other argument is returned . If the inputs compare equal
3136- /// (such as for the case of `+0.0` and `-0.0`), either input may be returned non-deterministically.
3134+ /// If one of the arguments is NaN (quiet or signaling), then the other argument is returned. If
3135+ /// both arguments are NaN, returns NaN . If the inputs compare equal (such as for the case of `+0.0`
3136+ /// and `-0.0`), either input may be returned non-deterministically.
31373137///
31383138/// Note that, unlike most intrinsics, this is safe to call;
31393139/// it does not require an `unsafe` block.
@@ -3148,9 +3148,9 @@ pub const fn maxnumf32(x: f32, y: f32) -> f32;
31483148
31493149/// Returns the maximum of two `f64` values, ignoring NaN.
31503150///
3151- /// This behaves like IEEE 754-2008 maxNum. In particular:
3152- /// If one of the arguments is NaN, then the other argument is returned . If the inputs compare equal
3153- /// (such as for the case of `+0.0` and `-0.0`), either input may be returned non-deterministically.
3151+ /// If one of the arguments is NaN (quiet or signaling), then the other argument is returned. If
3152+ /// both arguments are NaN, returns NaN . If the inputs compare equal (such as for the case of `+0.0`
3153+ /// and `-0.0`), either input may be returned non-deterministically.
31543154///
31553155/// Note that, unlike most intrinsics, this is safe to call;
31563156/// it does not require an `unsafe` block.
@@ -3165,9 +3165,9 @@ pub const fn maxnumf64(x: f64, y: f64) -> f64;
31653165
31663166/// Returns the maximum of two `f128` values, ignoring NaN.
31673167///
3168- /// This behaves like IEEE 754-2008 maxNum. In particular:
3169- /// If one of the arguments is NaN, then the other argument is returned . If the inputs compare equal
3170- /// (such as for the case of `+0.0` and `-0.0`), either input may be returned non-deterministically.
3168+ /// If one of the arguments is NaN (quiet or signaling), then the other argument is returned. If
3169+ /// both arguments are NaN, returns NaN . If the inputs compare equal (such as for the case of `+0.0`
3170+ /// and `-0.0`), either input may be returned non-deterministically.
31713171///
31723172/// Note that, unlike most intrinsics, this is safe to call;
31733173/// it does not require an `unsafe` block.
0 commit comments