No problem. Glad we weren't using the wrong value of e! :-)

> On Jul 4, 2014, at 5:08 PM, [email protected] wrote:
> 
> Oops.
> 
> That's exactly what happened.
> 
> I was running through 
> 
> http://www.scolvin.com/juliabyexample/#Strings-Basics
> 
> yesterday and forgot I ran these lines.
> 
> Sorry about that,
> 
> Jim
> 
>> On Friday, July 4, 2014 4:58:43 PM UTC-4, Stefan Karpinski wrote:
>> 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