Re: [julia-users] Range to Array with power functions fails

2014-09-10 Thread Földes László
Thanks. On Friday, September 5, 2014 1:02:55 PM UTC+2, Milan Bouchet-Valat wrote: Le vendredi 05 septembre 2014 à 03:29 -0700, Földes László a écrit : This works fine: julia x = 1:5 1:5 julia y = [z^2 for z in x] 5-element Array{Any,1}: 1 4 9 16 25 and I can use

[julia-users] Range to Array with power functions fails

2014-09-05 Thread Földes László
This works fine: julia x = 1:5 1:5 julia y = [z^2 for z in x] 5-element Array{Any,1}: 1 4 9 16 25 and I can use similar solution with a simplified form: julia y = [x*2] 5-element Array{Int64,1}: 2 4 6 8 10 so I got brave and tried this, but it failed: julia x = 1:5 1:5

[julia-users] julia nightlies current version

2014-04-23 Thread Földes László
Is the Julia nightlies update every day as it used to do around January/February? I don't receive updates for a long time now, and I want to investigate whether it is a failed Xubuntu upgrade that killed the Sources, or the package really don't update. Thanks versioninfo() Julia Version

[julia-users] Re: Julia computational efficiency vs C vs Java vs Python vs Cython

2014-01-15 Thread Földes László
for computations not ints. I am asking just out of curiosity ;-) On Wednesday, 15 January 2014 00:25:20 UTC+1, Földes László wrote: You can force the literals by enclosing them in int32(): p = [int32(0) for i=1:2] result = [int32(0) for i=1:2] k = int32(0) n = int32(2

[julia-users] It is not easy to search for a Julia fractal implementation in Julia :-)

2014-01-14 Thread Földes László
Just letting you know :-)

[julia-users] Re: Julia computational efficiency vs C vs Java vs Python vs Cython

2014-01-14 Thread Földes László
You can force the literals by enclosing them in int32(): p = [int32(0) for i=1:2] result = [int32(0) for i=1:2] k = int32(0) n = int32(2) while k int32(2) i = int32(0) On Wednesday, January 15, 2014 12:04:23 AM UTC+1, Przemyslaw Szufel wrote: Simon,

Re: [julia-users] Re: Any coding style to avoid native type overflows?

2014-01-13 Thread Földes László
kl. 17:02:25 UTC+1 søndag 12. januar 2014 skrev Földes László følgende: This little piece of code tricked me: if value big(2^32) println(Finished!) break end The println was never executed and couldn't find the problem for about 3 minutes when I

[julia-users] Any coding style to avoid native type overflows?

2014-01-12 Thread Földes László
This little piece of code tricked me: if value big(2^32) println(Finished!) break end The println was never executed and couldn't find the problem for about 3 minutes when I tried it on a 64 bit OS, where it worked. The problem is that on 32-bit OS 2^32 equals to zero. I'm just getting

[julia-users] Re: Any coding style to avoid native type overflows?

2014-01-12 Thread Földes László
Float64 version. This means that 0.1 will be 1.55511151231257827021181583404541015625e-01 instead of 1.02e-01 kl. 17:02:25 UTC+1 søndag 12. januar 2014 skrev Földes László følgende: This little piece