On v0.5 this gives:

ERROR: UndefVarError: @MIME not defined
 in eval(::Module, ::Any) at .\boot.jl:234
 in macro expansion; at .\REPL[4]:2 [inlined]
 in anonymous at .\<missing>:?
 in eval(::Module, ::Any) at .\boot.jl:234
 in macro expansion at .\REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at .\event.jl:46


On Tuesday, July 5, 2016 at 7:23:47 AM UTC-4, Lyndon White wrote:
>
> 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