Inferring floating-point numbers
2018-01-11 本文已影响6人
成江
Swift always chooses Double (rather than Float) when inferring the type of floating-point numbers.
Swift always chooses Double (rather than Float) when inferring the type of floating-point numbers.