[Swift-devel] expression typing

Michael Wilde wilde at anl.gov
Fri Aug 15 09:33:20 CDT 2014


A  participant in yesterday's ATPESC tutorial was surprised to see that 
division of two integers yields a float type.

We should discuss this, as well as unification of the type coercion 
rules of both Swift/K and Swift/T, and document what the situation is 
(as well as whether we plan to change it).

- Mike

-- 
Michael Wilde
Mathematics and Computer Science          Computation Institute
Argonne National Laboratory               The University of Chicago




More information about the Swift-devel mailing list