@@ -39,7 +39,7 @@ pub mod consts {
3939 /// The Euler-Mascheroni constant (γ)
4040 #[ unstable( feature = "f128" , issue = "116909" ) ]
4141 // Also, #[unstable(feature = "more_float_constants", issue = "103883")]
42- pub const EGAMMA : f128 = 0.577215664901532860606512090082402431042159335939923598805767_f128 ;
42+ pub const GAMMA : f128 = 0.577215664901532860606512090082402431042159335939923598805767_f128 ;
4343
4444 /// π/2
4545 #[ unstable( feature = "f128" , issue = "116909" ) ]
@@ -107,6 +107,17 @@ pub mod consts {
107107 pub const FRAC_1_SQRT_3 : f128 =
108108 0.577350269189625764509148780501957455647601751270126876018602_f128 ;
109109
110+ /// sqrt(5)
111+ #[ unstable( feature = "f128" , issue = "116909" ) ]
112+ // Also, #[unstable(feature = "more_float_constants", issue = "103883")]
113+ pub const SQRT_5 : f128 = 2.23606797749978969640917366873127623544061835961152572427089_f128 ;
114+
115+ /// 1/sqrt(5)
116+ #[ unstable( feature = "f128" , issue = "116909" ) ]
117+ // Also, #[unstable(feature = "more_float_constants", issue = "103883")]
118+ pub const FRAC_1_SQRT_5 : f128 =
119+ 0.447213595499957939281834733746255247088123671922305144854179_f128 ;
120+
110121 /// Euler's number (e)
111122 #[ unstable( feature = "f128" , issue = "116909" ) ]
112123 pub const E : f128 = 2.71828182845904523536028747135266249775724709369995957496697_f128 ;
@@ -131,6 +142,11 @@ pub mod consts {
131142 #[ unstable( feature = "f128" , issue = "116909" ) ]
132143 pub const LN_2 : f128 = 0.693147180559945309417232121458176568075500134360255254120680_f128 ;
133144
145+ /// ln(3)
146+ #[ unstable( feature = "f128" , issue = "116909" ) ]
147+ // Also, #[unstable(feature = "more_float_constants", issue = "103883")]
148+ pub const LN_3 : f128 = 1.09861228866810969139524523692252570464749055782274945173469_f128 ;
149+
134150 /// ln(10)
135151 #[ unstable( feature = "f128" , issue = "116909" ) ]
136152 pub const LN_10 : f128 = 2.30258509299404568401799145468436420760110148862877297603333_f128 ;
0 commit comments