@@ -61,6 +61,7 @@ impl f32 {
61
61
/// assert_eq!(f.ceil(), 4.0);
62
62
/// assert_eq!(g.ceil(), 4.0);
63
63
/// ```
64
+ #[ doc( alias = "ceiling" ) ]
64
65
#[ rustc_allow_incoherent_impl]
65
66
#[ must_use = "method returns a new number and does not mutate the original value" ]
66
67
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -135,6 +136,7 @@ impl f32 {
135
136
/// assert_eq!(g.trunc(), 3.0);
136
137
/// assert_eq!(h.trunc(), -3.0);
137
138
/// ```
139
+ #[ doc( alias = "truncate" ) ]
138
140
#[ rustc_allow_incoherent_impl]
139
141
#[ must_use = "method returns a new number and does not mutate the original value" ]
140
142
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -672,6 +674,7 @@ impl f32 {
672
674
///
673
675
/// assert!(abs_difference <= f32::EPSILON);
674
676
/// ```
677
+ #[ doc( alias = "arcsin" ) ]
675
678
#[ rustc_allow_incoherent_impl]
676
679
#[ must_use = "method returns a new number and does not mutate the original value" ]
677
680
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -694,6 +697,7 @@ impl f32 {
694
697
///
695
698
/// assert!(abs_difference <= f32::EPSILON);
696
699
/// ```
700
+ #[ doc( alias = "arccos" ) ]
697
701
#[ rustc_allow_incoherent_impl]
698
702
#[ must_use = "method returns a new number and does not mutate the original value" ]
699
703
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -715,6 +719,7 @@ impl f32 {
715
719
///
716
720
/// assert!(abs_difference <= f32::EPSILON);
717
721
/// ```
722
+ #[ doc( alias = "arctan" ) ]
718
723
#[ rustc_allow_incoherent_impl]
719
724
#[ must_use = "method returns a new number and does not mutate the original value" ]
720
725
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -772,6 +777,7 @@ impl f32 {
772
777
/// assert!(abs_difference_0 <= f32::EPSILON);
773
778
/// assert!(abs_difference_1 <= f32::EPSILON);
774
779
/// ```
780
+ #[ doc( alias = "sincos" ) ]
775
781
#[ rustc_allow_incoherent_impl]
776
782
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
777
783
#[ inline]
@@ -904,6 +910,7 @@ impl f32 {
904
910
///
905
911
/// assert!(abs_difference <= f32::EPSILON);
906
912
/// ```
913
+ #[ doc( alias = "arcsinh" ) ]
907
914
#[ rustc_allow_incoherent_impl]
908
915
#[ must_use = "method returns a new number and does not mutate the original value" ]
909
916
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -926,6 +933,7 @@ impl f32 {
926
933
///
927
934
/// assert!(abs_difference <= f32::EPSILON);
928
935
/// ```
936
+ #[ doc( alias = "arccosh" ) ]
929
937
#[ rustc_allow_incoherent_impl]
930
938
#[ must_use = "method returns a new number and does not mutate the original value" ]
931
939
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -950,6 +958,7 @@ impl f32 {
950
958
///
951
959
/// assert!(abs_difference <= 1e-5);
952
960
/// ```
961
+ #[ doc( alias = "arctanh" ) ]
953
962
#[ rustc_allow_incoherent_impl]
954
963
#[ must_use = "method returns a new number and does not mutate the original value" ]
955
964
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
0 commit comments