News for hackers. Stuff that matters.
Re:Show HN: Learn Swift by Tloewald on Tuesday June 09, 2015 @04:11PM (#9688255)
I was referring to this:

$ swift Welcome to Swift! Type :help for assistance. 1> 3.14 * 2.5 * 2.5 $R0: Double = 19.625 2> println("The area of the circle is \($R0)") The area of the circle is 19.625 3> 4> $R0 * 2 $R1: Double = 39.25 5> println("And double that is \($R1)") And double that is 39.25 6>

What's Double? Trying to follow this (which didn't make sense to me because I didn't know the history stuff was there) simply caused error messages.

Re:Show HN: Learn Swift by _s on Tuesday June 09, 2015 @08:48PM (#9689454)
Isn't Double just a bigger floating point number?
Re:Show HN: Learn Swift by addandsubtract on Wednesday June 10, 2015 @01:52PM (#9694032)
Right. A double has twice the precision of a float (hence the name). It's also the default floating point data type in Swift.