typeof(Int32(1)/Int32(2)) == Float64 @_@

There is one more reason to use Float64 for /(::Int32, ::Int32), which is that while a Int32 value can be exactly represented as a Float64, it can’t be as a Float32, which to me (who’s very concerned about information loss) makes a lot of sense.

4 Likes