@@ -40,7 +40,7 @@ pub mod consts {
4040 /// The Euler-Mascheroni constant (γ)
4141 #[ unstable( feature = "f128" , issue = "116909" ) ]
4242 // Also, #[unstable(feature = "more_float_constants", issue = "146939")]
43- pub const EGAMMA : f128 = 0.577215664901532860606512090082402431042159335939923598805767_f128 ;
43+ pub const GAMMA : f128 = 0.577215664901532860606512090082402431042159335939923598805767_f128 ;
4444
4545 /// π/2
4646 #[ unstable( feature = "f128" , issue = "116909" ) ]
@@ -108,6 +108,17 @@ pub mod consts {
108108 pub const FRAC_1_SQRT_3 : f128 =
109109 0.577350269189625764509148780501957455647601751270126876018602_f128 ;
110110
111+ /// sqrt(5)
112+ #[ unstable( feature = "f128" , issue = "116909" ) ]
113+ // Also, #[unstable(feature = "more_float_constants", issue = "146939")]
114+ pub const SQRT_5 : f128 = 2.23606797749978969640917366873127623544061835961152572427089_f128 ;
115+
116+ /// 1/sqrt(5)
117+ #[ unstable( feature = "f128" , issue = "116909" ) ]
118+ // Also, #[unstable(feature = "more_float_constants", issue = "146939")]
119+ pub const FRAC_1_SQRT_5 : f128 =
120+ 0.447213595499957939281834733746255247088123671922305144854179_f128 ;
121+
111122 /// Euler's number (e)
112123 #[ unstable( feature = "f128" , issue = "116909" ) ]
113124 pub const E : f128 = 2.71828182845904523536028747135266249775724709369995957496697_f128 ;
@@ -132,6 +143,11 @@ pub mod consts {
132143 #[ unstable( feature = "f128" , issue = "116909" ) ]
133144 pub const LN_2 : f128 = 0.693147180559945309417232121458176568075500134360255254120680_f128 ;
134145
146+ /// ln(3)
147+ #[ unstable( feature = "f128" , issue = "116909" ) ]
148+ // Also, #[unstable(feature = "more_float_constants", issue = "146939")]
149+ pub const LN_3 : f128 = 1.09861228866810969139524523692252570464749055782274945173469_f128 ;
150+
135151 /// ln(10)
136152 #[ unstable( feature = "f128" , issue = "116909" ) ]
137153 pub const LN_10 : f128 = 2.30258509299404568401799145468436420760110148862877297603333_f128 ;
0 commit comments