@@ -3928,7 +3928,7 @@ pub const unsafe fn write_bytes<T>(dst: *mut T, val: u8, count: usize) {
39283928 }
39293929}
39303930
3931- /// Returns the minimum of two `f16` values.
3931+ /// Returns the minimum (IEEE 754-2008 minNum) of two `f16` values.
39323932///
39333933/// Note that, unlike most intrinsics, this is safe to call;
39343934/// it does not require an `unsafe` block.
@@ -3941,7 +3941,7 @@ pub const unsafe fn write_bytes<T>(dst: *mut T, val: u8, count: usize) {
39413941#[ rustc_intrinsic]
39423942pub const fn minnumf16 ( x : f16 , y : f16 ) -> f16 ;
39433943
3944- /// Returns the minimum of two `f32` values.
3944+ /// Returns the minimum (IEEE 754-2008 minNum) of two `f32` values.
39453945///
39463946/// Note that, unlike most intrinsics, this is safe to call;
39473947/// it does not require an `unsafe` block.
@@ -3955,7 +3955,7 @@ pub const fn minnumf16(x: f16, y: f16) -> f16;
39553955#[ rustc_intrinsic]
39563956pub const fn minnumf32 ( x : f32 , y : f32 ) -> f32 ;
39573957
3958- /// Returns the minimum of two `f64` values.
3958+ /// Returns the minimum (IEEE 754-2008 minNum) of two `f64` values.
39593959///
39603960/// Note that, unlike most intrinsics, this is safe to call;
39613961/// it does not require an `unsafe` block.
@@ -3969,7 +3969,7 @@ pub const fn minnumf32(x: f32, y: f32) -> f32;
39693969#[ rustc_intrinsic]
39703970pub const fn minnumf64 ( x : f64 , y : f64 ) -> f64 ;
39713971
3972- /// Returns the minimum of two `f128` values.
3972+ /// Returns the minimum (IEEE 754-2008 minNum) of two `f128` values.
39733973///
39743974/// Note that, unlike most intrinsics, this is safe to call;
39753975/// it does not require an `unsafe` block.
@@ -3982,7 +3982,53 @@ pub const fn minnumf64(x: f64, y: f64) -> f64;
39823982#[ rustc_intrinsic]
39833983pub const fn minnumf128 ( x : f128 , y : f128 ) -> f128 ;
39843984
3985- /// Returns the maximum of two `f16` values.
3985+ /// Returns the minimum (IEEE 754-2019 minimum) of two `f16` values.
3986+ ///
3987+ /// Note that, unlike most intrinsics, this is safe to call;
3988+ /// it does not require an `unsafe` block.
3989+ /// Therefore, implementations must not require the user to uphold
3990+ /// any safety invariants.
3991+ #[ rustc_nounwind]
3992+ #[ rustc_intrinsic]
3993+ #[ cfg( not( bootstrap) ) ]
3994+ pub const fn minimumf16 ( x : f16 , y : f16 ) -> f16 ;
3995+
3996+ /// Returns the minimum (IEEE 754-2019 minimum) of two `f32` values.
3997+ ///
3998+ /// Note that, unlike most intrinsics, this is safe to call;
3999+ /// it does not require an `unsafe` block.
4000+ /// Therefore, implementations must not require the user to uphold
4001+ /// any safety invariants.
4002+ #[ rustc_nounwind]
4003+ #[ rustc_intrinsic_const_stable_indirect]
4004+ #[ rustc_intrinsic]
4005+ #[ cfg( not( bootstrap) ) ]
4006+ pub const fn minimumf32 ( x : f32 , y : f32 ) -> f32 ;
4007+
4008+ /// Returns the minimum (IEEE 754-2019 minimum) of two `f64` values.
4009+ ///
4010+ /// Note that, unlike most intrinsics, this is safe to call;
4011+ /// it does not require an `unsafe` block.
4012+ /// Therefore, implementations must not require the user to uphold
4013+ /// any safety invariants.
4014+ #[ rustc_nounwind]
4015+ #[ rustc_intrinsic_const_stable_indirect]
4016+ #[ rustc_intrinsic]
4017+ #[ cfg( not( bootstrap) ) ]
4018+ pub const fn minimumf64 ( x : f64 , y : f64 ) -> f64 ;
4019+
4020+ /// Returns the minimum (IEEE 754-2019 minimum) of two `f128` values.
4021+ ///
4022+ /// Note that, unlike most intrinsics, this is safe to call;
4023+ /// it does not require an `unsafe` block.
4024+ /// Therefore, implementations must not require the user to uphold
4025+ /// any safety invariants.
4026+ #[ rustc_nounwind]
4027+ #[ rustc_intrinsic]
4028+ #[ cfg( not( bootstrap) ) ]
4029+ pub const fn minimumf128 ( x : f128 , y : f128 ) -> f128 ;
4030+
4031+ /// Returns the maximum (IEEE 754-2008 maxNum) of two `f16` values.
39864032///
39874033/// Note that, unlike most intrinsics, this is safe to call;
39884034/// it does not require an `unsafe` block.
@@ -3995,7 +4041,7 @@ pub const fn minnumf128(x: f128, y: f128) -> f128;
39954041#[ rustc_intrinsic]
39964042pub const fn maxnumf16 ( x : f16 , y : f16 ) -> f16 ;
39974043
3998- /// Returns the maximum of two `f32` values.
4044+ /// Returns the maximum (IEEE 754-2008 maxNum) of two `f32` values.
39994045///
40004046/// Note that, unlike most intrinsics, this is safe to call;
40014047/// it does not require an `unsafe` block.
@@ -4009,7 +4055,7 @@ pub const fn maxnumf16(x: f16, y: f16) -> f16;
40094055#[ rustc_intrinsic]
40104056pub const fn maxnumf32 ( x : f32 , y : f32 ) -> f32 ;
40114057
4012- /// Returns the maximum of two `f64` values.
4058+ /// Returns the maximum (IEEE 754-2008 maxNum) of two `f64` values.
40134059///
40144060/// Note that, unlike most intrinsics, this is safe to call;
40154061/// it does not require an `unsafe` block.
@@ -4023,7 +4069,7 @@ pub const fn maxnumf32(x: f32, y: f32) -> f32;
40234069#[ rustc_intrinsic]
40244070pub const fn maxnumf64 ( x : f64 , y : f64 ) -> f64 ;
40254071
4026- /// Returns the maximum of two `f128` values.
4072+ /// Returns the maximum (IEEE 754-2008 maxNum) of two `f128` values.
40274073///
40284074/// Note that, unlike most intrinsics, this is safe to call;
40294075/// it does not require an `unsafe` block.
@@ -4036,6 +4082,52 @@ pub const fn maxnumf64(x: f64, y: f64) -> f64;
40364082#[ rustc_intrinsic]
40374083pub const fn maxnumf128 ( x : f128 , y : f128 ) -> f128 ;
40384084
4085+ /// Returns the maximum (IEEE 754-2019 maximum) of two `f16` values.
4086+ ///
4087+ /// Note that, unlike most intrinsics, this is safe to call;
4088+ /// it does not require an `unsafe` block.
4089+ /// Therefore, implementations must not require the user to uphold
4090+ /// any safety invariants.
4091+ #[ rustc_nounwind]
4092+ #[ rustc_intrinsic]
4093+ #[ cfg( not( bootstrap) ) ]
4094+ pub const fn maximumf16 ( x : f16 , y : f16 ) -> f16 ;
4095+
4096+ /// Returns the maximum (IEEE 754-2019 maximum) of two `f32` values.
4097+ ///
4098+ /// Note that, unlike most intrinsics, this is safe to call;
4099+ /// it does not require an `unsafe` block.
4100+ /// Therefore, implementations must not require the user to uphold
4101+ /// any safety invariants.
4102+ #[ rustc_nounwind]
4103+ #[ rustc_intrinsic_const_stable_indirect]
4104+ #[ rustc_intrinsic]
4105+ #[ cfg( not( bootstrap) ) ]
4106+ pub const fn maximumf32 ( x : f32 , y : f32 ) -> f32 ;
4107+
4108+ /// Returns the maximum (IEEE 754-2019 maximum) of two `f64` values.
4109+ ///
4110+ /// Note that, unlike most intrinsics, this is safe to call;
4111+ /// it does not require an `unsafe` block.
4112+ /// Therefore, implementations must not require the user to uphold
4113+ /// any safety invariants.
4114+ #[ rustc_nounwind]
4115+ #[ rustc_intrinsic_const_stable_indirect]
4116+ #[ rustc_intrinsic]
4117+ #[ cfg( not( bootstrap) ) ]
4118+ pub const fn maximumf64 ( x : f64 , y : f64 ) -> f64 ;
4119+
4120+ /// Returns the maximum (IEEE 754-2019 maximum) of two `f128` values.
4121+ ///
4122+ /// Note that, unlike most intrinsics, this is safe to call;
4123+ /// it does not require an `unsafe` block.
4124+ /// Therefore, implementations must not require the user to uphold
4125+ /// any safety invariants.
4126+ #[ rustc_nounwind]
4127+ #[ rustc_intrinsic]
4128+ #[ cfg( not( bootstrap) ) ]
4129+ pub const fn maximumf128 ( x : f128 , y : f128 ) -> f128 ;
4130+
40394131/// Returns the absolute value of an `f16`.
40404132///
40414133/// The stabilized version of this intrinsic is
0 commit comments