I can easily type floating point literals of wanted precision:

julia> typeof(3.14f0)
Float32

julia> typeof(3.14)
Float64

julia> typeof(3.14e0)
Float64


But i have to resort to converter method, in order to avoid being 
platform-dependent.

julia> typeof(42)  # platform-dependent
Int64 

julia> typeof(int64(42))
Int64

julia> typeof(int32(42))
Int32


Is this intended or has there been a discussion about this?

Thanks,

Jong Wook

Reply via email to