Skip to content

Commit 9a6575d

Browse files
committed
Update docstrings.
1 parent 4b0f484 commit 9a6575d

File tree

1 file changed

+5
-10
lines changed
  • library/core/src/intrinsics

1 file changed

+5
-10
lines changed

library/core/src/intrinsics/mod.rs

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2995,8 +2995,7 @@ pub unsafe fn float_to_int_unchecked<Float: Copy, Int: Copy>(_value: Float) -> I
29952995

29962996
/// Float addition that allows optimizations based on algebraic rules.
29972997
///
2998-
/// The stabilized version of this intrinsic is
2999-
/// [`f32::add_algebraic`](../../std/primitive.f32.html#method.add_algebraic)
2998+
/// Stabilized as [`f32::add_algebraic`] and [`f64::add_algebraic`].
30002999
#[rustc_nounwind]
30013000
#[rustc_intrinsic]
30023001
#[rustc_intrinsic_must_be_overridden]
@@ -3006,8 +3005,7 @@ pub fn fadd_algebraic<T: Copy>(_a: T, _b: T) -> T {
30063005

30073006
/// Float subtraction that allows optimizations based on algebraic rules.
30083007
///
3009-
/// The stabilized version of this intrinsic is
3010-
/// [`f32::sub_algebraic`](../../std/primitive.f32.html#method.sub_algebraic)
3008+
/// Stabilized as [`f32::sub_algebraic`] and [`f64::sub_algebraic`].
30113009
#[rustc_nounwind]
30123010
#[rustc_intrinsic]
30133011
#[rustc_intrinsic_must_be_overridden]
@@ -3017,8 +3015,7 @@ pub fn fsub_algebraic<T: Copy>(_a: T, _b: T) -> T {
30173015

30183016
/// Float multiplication that allows optimizations based on algebraic rules.
30193017
///
3020-
/// The stabilized version of this intrinsic is
3021-
/// [`f32::mul_algebraic`](../../std/primitive.f32.html#method.mul_algebraic)
3018+
/// Stabilized as [`f32::mul_algebraic`] and [`f64::mul_algebraic`].
30223019
#[rustc_nounwind]
30233020
#[rustc_intrinsic]
30243021
#[rustc_intrinsic_must_be_overridden]
@@ -3028,8 +3025,7 @@ pub fn fmul_algebraic<T: Copy>(_a: T, _b: T) -> T {
30283025

30293026
/// Float division that allows optimizations based on algebraic rules.
30303027
///
3031-
/// The stabilized version of this intrinsic is
3032-
/// [`f32::div_algebraic`](../../std/primitive.f32.html#method.div_algebraic)
3028+
/// Stabilized as [`f32::div_algebraic`] and [`f64::div_algebraic`].
30333029
#[rustc_nounwind]
30343030
#[rustc_intrinsic]
30353031
#[rustc_intrinsic_must_be_overridden]
@@ -3039,8 +3035,7 @@ pub fn fdiv_algebraic<T: Copy>(_a: T, _b: T) -> T {
30393035

30403036
/// Float remainder that allows optimizations based on algebraic rules.
30413037
///
3042-
/// The stabilized version of this intrinsic is
3043-
/// [`f32::rem_algebraic`](../../std/primitive.f32.html#method.rem_algebraic)
3038+
/// Stabilized as [`f32::rem_algebraic`] and [`f64::rem_algebraic`].
30443039
#[rustc_nounwind]
30453040
#[rustc_intrinsic]
30463041
#[rustc_intrinsic_must_be_overridden]

0 commit comments

Comments
 (0)