<p dir="auto">I find this a bit annoying, because I'm used to use the exponent notation to declare large numbers. Of course I could do zeros(10^4) but I think it should also work with 1e4.</p>
<p dir="auto">The problem is that 1e4 is a float and 10^4 an int, and that Array doesn't accept floats for dimensional arguments.</p>
<p dir="auto">Is there any problems with trying to convert floats to int when declaring arrays ? I think it would simplify things quite a bit, and it seems safe to me, since convert will give an InexactError when trying to declare an array with 10.5 elements.</p>
<p dir="auto">It would also solve this kind of weird behavior:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; zeros(100/10)
ERROR: no method Array(DataType,Float64)
 in zeros at array.jl:205"><pre class="notranslate"><code class="notranslate">julia&gt; zeros(100/10)
ERROR: no method Array(DataType,Float64)
 in zeros at array.jl:205
</code></pre></div>
<p dir="auto">Currently, rand(1,1e7) fails:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia&gt; rand(1,1e7)
ERROR: no method rand(Int64,Float64)"><pre class="notranslate"><code class="notranslate">julia&gt; rand(1,1e7)
ERROR: no method rand(Int64,Float64)
</code></pre></div>
<p dir="auto">Should using FloatingPoints be allowed? Shall it throw InexactError() if round(m)!=m?</p>