See also here:
https://groups.google.com/d/msg/julia-users/hIVawSgFvOs/9EpbqwWWBgAJ and
the conclusion was: avoid writing 1. (which will not be allowed by the
parser some time) and write 1.0 instead.
On Mon, Oct 24, 2016 at 3:40 AM, J Luis wrote:
> It parses .+ as broadcasting of two Ints. Do i
It parses .+ as broadcasting of two Ints. Do instead
typeof(1. +1)
Float64
segunda-feira, 24 de Outubro de 2016 às 02:33:15 UTC+1,
christop...@unibas.ch escreveu:
>
> What is the difference between 1.0 and 1. ?
> Both are of type Float64, but adding 1 leads to the result 2.0, i.e.,
> Float64,