You can use the `names` function to search a module for all constants it 
defines.
By evaluating the names to get the values, then checking if they are 
Irrational (formerly known as MathConst?)
By doing this, I conclude that the  ASCII name for the Euler-Mascheroni 
constant (γ) is eulergamma


 


julia> for name_sym in names(Base)
              value = eval(name_sym)
              if typeof(value)<: Irrational
                            println(name_sym, "\t", value)
              end
       end


catalan catalan = 0.9159655941772...
e       e = 2.7182818284590...
eu      e = 2.7182818284590...
eulergamma      γ = 0.5772156649015...
golden  φ = 1.6180339887498...
pi      π = 3.1415926535897...
γ       γ = 0.5772156649015...
π       π = 3.1415926535897...
φ       φ = 1.6180339887498...



Reply via email to