The master list is basically this:

https://github.com/JuliaLang/julia/blob/7b3f5296c54d0362ab90c2299b4c9255aca171a8/base/irrationals.jl#L127-L131

On Tue, Jul 5, 2016 at 9:42 AM, esproff <[email protected]> wrote:

> Ok great!  Thanks Kenta and Lyndon for your quick responses!
>
>
> On Tuesday, July 5, 2016 at 4:23:47 AM UTC-7, 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