Skip to content

Commit bab448a

Browse files
committed
Link to central documentation.
1 parent b78a39a commit bab448a

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

library/core/src/num/f128.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,8 @@ impl f128 {
13671367
}
13681368

13691369
/// Float addition that allows optimizations based on algebraic rules.
1370+
///
1371+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13701372
#[must_use = "method returns a new number and does not mutate the original value"]
13711373
#[unstable(feature = "float_algebraic", issue = "136469")]
13721374
#[inline]
@@ -1375,6 +1377,8 @@ impl f128 {
13751377
}
13761378

13771379
/// Float subtraction that allows optimizations based on algebraic rules.
1380+
///
1381+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13781382
#[must_use = "method returns a new number and does not mutate the original value"]
13791383
#[unstable(feature = "float_algebraic", issue = "136469")]
13801384
#[inline]
@@ -1383,6 +1387,8 @@ impl f128 {
13831387
}
13841388

13851389
/// Float multiplication that allows optimizations based on algebraic rules.
1390+
///
1391+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13861392
#[must_use = "method returns a new number and does not mutate the original value"]
13871393
#[unstable(feature = "float_algebraic", issue = "136469")]
13881394
#[inline]
@@ -1391,6 +1397,8 @@ impl f128 {
13911397
}
13921398

13931399
/// Float division that allows optimizations based on algebraic rules.
1400+
///
1401+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13941402
#[must_use = "method returns a new number and does not mutate the original value"]
13951403
#[unstable(feature = "float_algebraic", issue = "136469")]
13961404
#[inline]
@@ -1399,6 +1407,8 @@ impl f128 {
13991407
}
14001408

14011409
/// Float remainder that allows optimizations based on algebraic rules.
1410+
///
1411+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
14021412
#[must_use = "method returns a new number and does not mutate the original value"]
14031413
#[unstable(feature = "float_algebraic", issue = "136469")]
14041414
#[inline]

library/core/src/num/f16.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,6 +1343,8 @@ impl f16 {
13431343
}
13441344

13451345
/// Float addition that allows optimizations based on algebraic rules.
1346+
///
1347+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13461348
#[must_use = "method returns a new number and does not mutate the original value"]
13471349
#[unstable(feature = "float_algebraic", issue = "136469")]
13481350
#[inline]
@@ -1351,6 +1353,8 @@ impl f16 {
13511353
}
13521354

13531355
/// Float subtraction that allows optimizations based on algebraic rules.
1356+
///
1357+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13541358
#[must_use = "method returns a new number and does not mutate the original value"]
13551359
#[unstable(feature = "float_algebraic", issue = "136469")]
13561360
#[inline]
@@ -1359,6 +1363,8 @@ impl f16 {
13591363
}
13601364

13611365
/// Float multiplication that allows optimizations based on algebraic rules.
1366+
///
1367+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13621368
#[must_use = "method returns a new number and does not mutate the original value"]
13631369
#[unstable(feature = "float_algebraic", issue = "136469")]
13641370
#[inline]
@@ -1367,6 +1373,8 @@ impl f16 {
13671373
}
13681374

13691375
/// Float division that allows optimizations based on algebraic rules.
1376+
///
1377+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13701378
#[must_use = "method returns a new number and does not mutate the original value"]
13711379
#[unstable(feature = "float_algebraic", issue = "136469")]
13721380
#[inline]
@@ -1375,6 +1383,8 @@ impl f16 {
13751383
}
13761384

13771385
/// Float remainder that allows optimizations based on algebraic rules.
1386+
///
1387+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
13781388
#[must_use = "method returns a new number and does not mutate the original value"]
13791389
#[unstable(feature = "float_algebraic", issue = "136469")]
13801390
#[inline]

library/core/src/num/f32.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,6 +1508,8 @@ impl f32 {
15081508
}
15091509

15101510
/// Float addition that allows optimizations based on algebraic rules.
1511+
///
1512+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15111513
#[must_use = "method returns a new number and does not mutate the original value"]
15121514
#[unstable(feature = "float_algebraic", issue = "136469")]
15131515
#[inline]
@@ -1516,6 +1518,8 @@ impl f32 {
15161518
}
15171519

15181520
/// Float subtraction that allows optimizations based on algebraic rules.
1521+
///
1522+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15191523
#[must_use = "method returns a new number and does not mutate the original value"]
15201524
#[unstable(feature = "float_algebraic", issue = "136469")]
15211525
#[inline]
@@ -1524,6 +1528,8 @@ impl f32 {
15241528
}
15251529

15261530
/// Float multiplication that allows optimizations based on algebraic rules.
1531+
///
1532+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15271533
#[must_use = "method returns a new number and does not mutate the original value"]
15281534
#[unstable(feature = "float_algebraic", issue = "136469")]
15291535
#[inline]
@@ -1532,6 +1538,8 @@ impl f32 {
15321538
}
15331539

15341540
/// Float division that allows optimizations based on algebraic rules.
1541+
///
1542+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15351543
#[must_use = "method returns a new number and does not mutate the original value"]
15361544
#[unstable(feature = "float_algebraic", issue = "136469")]
15371545
#[inline]
@@ -1540,6 +1548,8 @@ impl f32 {
15401548
}
15411549

15421550
/// Float remainder that allows optimizations based on algebraic rules.
1551+
///
1552+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15431553
#[must_use = "method returns a new number and does not mutate the original value"]
15441554
#[unstable(feature = "float_algebraic", issue = "136469")]
15451555
#[inline]

library/core/src/num/f64.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,6 +1508,8 @@ impl f64 {
15081508
}
15091509

15101510
/// Float addition that allows optimizations based on algebraic rules.
1511+
///
1512+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15111513
#[must_use = "method returns a new number and does not mutate the original value"]
15121514
#[unstable(feature = "float_algebraic", issue = "136469")]
15131515
#[inline]
@@ -1516,6 +1518,8 @@ impl f64 {
15161518
}
15171519

15181520
/// Float subtraction that allows optimizations based on algebraic rules.
1521+
///
1522+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15191523
#[must_use = "method returns a new number and does not mutate the original value"]
15201524
#[unstable(feature = "float_algebraic", issue = "136469")]
15211525
#[inline]
@@ -1524,6 +1528,8 @@ impl f64 {
15241528
}
15251529

15261530
/// Float multiplication that allows optimizations based on algebraic rules.
1531+
///
1532+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15271533
#[must_use = "method returns a new number and does not mutate the original value"]
15281534
#[unstable(feature = "float_algebraic", issue = "136469")]
15291535
#[inline]
@@ -1532,6 +1538,8 @@ impl f64 {
15321538
}
15331539

15341540
/// Float division that allows optimizations based on algebraic rules.
1541+
///
1542+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15351543
#[must_use = "method returns a new number and does not mutate the original value"]
15361544
#[unstable(feature = "float_algebraic", issue = "136469")]
15371545
#[inline]
@@ -1540,6 +1548,8 @@ impl f64 {
15401548
}
15411549

15421550
/// Float remainder that allows optimizations based on algebraic rules.
1551+
///
1552+
/// See [algebraic operators](primitive@f32#algebraic-operators) for more info.
15431553
#[must_use = "method returns a new number and does not mutate the original value"]
15441554
#[unstable(feature = "float_algebraic", issue = "136469")]
15451555
#[inline]

0 commit comments

Comments
 (0)