On Friday, 28 February 2014 10:58:24 UTC-3, David P. Sanders wrote: > > > > El viernes, 28 de febrero de 2014 07:49:09 UTC-6, andrew cooke escribió: >> >> the current behaviour is explained at >> http://julia.readthedocs.org/en/latest/manual/conversion-and-promotion/<http://www.google.com/url?q=http%3A%2F%2Fjulia.readthedocs.org%2Fen%2Flatest%2Fmanual%2Fconversion-and-promotion%2F&sa=D&sntz=1&usg=AFQjCNHVfKLwabdBEaHdiW4jKXLvB8nnPw> >> > > But I don't find it evident from that document that Int32+Int32 gives > Int64 on a 64-bit machine! > there's the sentence "Integer values are promoted to the largest type of the integer values." (but i agree that if it didn't explicitly say so, you could well expect that the rules would not do so).
andrew
