[Swift-devel] expression typing
Justin M Wozniak
wozniak at mcs.anl.gov
Fri Aug 15 09:39:15 CDT 2014
Both Swifts use / for floating point division and %/ for integer
division, both are in the docs.
On 08/15/2014 09:33 AM, Michael Wilde wrote:
> 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
>
--
Justin M Wozniak
More information about the Swift-devel
mailing list