To be concise: Yes, and yes :)

Instead of `float32(x)` and the like, 0.4 uses constructor methods 
(`Float32(x)` returns a `Float32`, just as `Foo(x)` returns a `Foo`...).

// T

On Friday, April 24, 2015 at 11:40:02 AM UTC+2, Sisyphuss wrote:
>
> I mean is there a syntax change from version 0.3 to version 0.4?
>
> Is "float32()"-like minuscule conversion going to be deprecated?
>
>
>
> On Friday, April 24, 2015 at 9:58:18 AM UTC+2, Tim Holy wrote:
>>
>> I'm not sure what your question is, but the documentation is correct in 
>> both 
>> cases. You can also use the Compat package, which allows you to write 
>>     x = @compat Float32(y) 
>> even on julia 0.3. 
>>
>> --Tim 
>>
>> On Friday, April 24, 2015 12:35:01 AM Sisyphuss wrote: 
>> > To convert a number to the type Float32, 
>> > 
>> > In 0.3 doc: float32() 
>> > In 0.4 doc: Float32() 
>>
>>

Reply via email to