I suspect that Ivar may be right about that accidental assignment. If you
did the assignment before using e then you won't get a warning even.


On Fri, Jul 4, 2014 at 4:43 PM, Ivar Nesje <[email protected]> wrote:

> It doesn't behave that way for me
>
> julia> e
> e = 2.7182818284590...
>
> julia> e == 2.718
> false
>
> Did you by accident do something like this by accident?
> julia> e = 2.718
> Warning: imported binding for e overwritten in module Main
> 2.718
>
> Ivar
>
> kl. 22:29:20 UTC+2 fredag 4. juli 2014 skrev [email protected]
> følgende:
>
>> Hi All,
>>
>> Is there a reason why the irrational constant e seems to be rounded to
>> three decimal places?
>>
>> julia> e
>> 2.718
>>
>> julia> e == 2.718
>> true
>>
>> Version 0.3.0-prerelease+3921 (2014-06-28 02:01 UTC)
>> Commit 0b46af5* (5 days old master)
>> x86_64-linux-gnu
>>
>> Thanks for any info,
>>
>> Jim
>>
>>
>>

Reply via email to