File tree 4 files changed +8
-0
lines changed
4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,7 @@ impl f128 {
227
227
/// ```
228
228
#[ inline]
229
229
#[ rustc_allow_incoherent_impl]
230
+ #[ doc( alias = "fmaf128" , alias = "fusedMultiplyAdd" ) ]
230
231
#[ unstable( feature = "f128" , issue = "116909" ) ]
231
232
#[ must_use = "method returns a new number and does not mutate the original value" ]
232
233
pub fn mul_add ( self , a : f128 , b : f128 ) -> f128 {
@@ -384,6 +385,7 @@ impl f128 {
384
385
/// # }
385
386
/// ```
386
387
#[ inline]
388
+ #[ doc( alias = "squareRoot" ) ]
387
389
#[ rustc_allow_incoherent_impl]
388
390
#[ unstable( feature = "f128" , issue = "116909" ) ]
389
391
#[ must_use = "method returns a new number and does not mutate the original value" ]
Original file line number Diff line number Diff line change @@ -228,6 +228,7 @@ impl f16 {
228
228
#[ inline]
229
229
#[ rustc_allow_incoherent_impl]
230
230
#[ unstable( feature = "f16" , issue = "116909" ) ]
231
+ #[ doc( alias = "fmaf16" , alias = "fusedMultiplyAdd" ) ]
231
232
#[ must_use = "method returns a new number and does not mutate the original value" ]
232
233
pub fn mul_add ( self , a : f16 , b : f16 ) -> f16 {
233
234
unsafe { intrinsics:: fmaf16 ( self , a, b) }
@@ -384,6 +385,7 @@ impl f16 {
384
385
/// # }
385
386
/// ```
386
387
#[ inline]
388
+ #[ doc( alias = "squareRoot" ) ]
387
389
#[ rustc_allow_incoherent_impl]
388
390
#[ unstable( feature = "f16" , issue = "116909" ) ]
389
391
#[ must_use = "method returns a new number and does not mutate the original value" ]
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ impl f32 {
210
210
/// assert_eq!(one_plus_eps * one_minus_eps + minus_one, 0.0);
211
211
/// ```
212
212
#[ rustc_allow_incoherent_impl]
213
+ #[ doc( alias = "fmaf" , alias = "fusedMultiplyAdd" ) ]
213
214
#[ must_use = "method returns a new number and does not mutate the original value" ]
214
215
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
215
216
#[ inline]
@@ -360,6 +361,7 @@ impl f32 {
360
361
/// assert!(negative.sqrt().is_nan());
361
362
/// assert!(negative_zero.sqrt() == negative_zero);
362
363
/// ```
364
+ #[ doc( alias = "squareRoot" ) ]
363
365
#[ rustc_allow_incoherent_impl]
364
366
#[ must_use = "method returns a new number and does not mutate the original value" ]
365
367
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ impl f64 {
210
210
/// assert_eq!(one_plus_eps * one_minus_eps + minus_one, 0.0);
211
211
/// ```
212
212
#[ rustc_allow_incoherent_impl]
213
+ #[ doc( alias = "fma" , alias = "fusedMultiplyAdd" ) ]
213
214
#[ must_use = "method returns a new number and does not mutate the original value" ]
214
215
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
215
216
#[ inline]
@@ -360,6 +361,7 @@ impl f64 {
360
361
/// assert!(negative.sqrt().is_nan());
361
362
/// assert!(negative_zero.sqrt() == negative_zero);
362
363
/// ```
364
+ #[ doc( alias = "squareRoot" ) ]
363
365
#[ rustc_allow_incoherent_impl]
364
366
#[ must_use = "method returns a new number and does not mutate the original value" ]
365
367
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
You can’t perform that action at this time.
0 commit comments