Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

3 added 169 characters in body

# Swift 3, 55 bytes

Note that I declared the variable t because the expression would be too complex to be solved in reasonable time otherwise (Swift's fault!).

func f(a:Int,b:Int,c:Int){let t=c-2*a;print(t*t<8*c*b)}


Full TestTest Suite.

or 55 bytes, exact closure equivalent (I need the last part because it is a complex construct):

{let t=$2-2*$0;return t*t<8*$2*$1}as(Int,Int,Int)->Bool


Test Suite.

# Swift 3, 57 bytes

func f(a:[Int]){let t=a-2*a;print(t*t<8*a*a)}


Full TestTest Suite.

# Swift 3, 55 bytes

func f(a:Int,b:Int,c:Int){let t=c-2*a;print(t*t<8*c*b)}


Full Test Suite.

# Swift 3, 57 bytes

func f(a:[Int]){let t=a-2*a;print(t*t<8*a*a)}


Full Test Suite.

# Swift 3, 55 bytes

Note that I declared the variable t because the expression would be too complex to be solved in reasonable time otherwise (Swift's fault!).

func f(a:Int,b:Int,c:Int){let t=c-2*a;print(t*t<8*c*b)}


Test Suite.

or 55 bytes, exact closure equivalent (I need the last part because it is a complex construct):

{let t=$2-2*$0;return t*t<8*$2*$1}as(Int,Int,Int)->Bool


Test Suite.

# Swift 3, 57 bytes

func f(a:[Int]){let t=a-2*a;print(t*t<8*a*a)}


Test Suite.

2 added 195 characters in body

# Swift 3, 5755 bytes

func f(a:Int,b:Int,c:Int){let t=c-2*a;print(t*t<8*c*b)}


Full Test Suite.

# Swift 3, 57 bytes

func f(a:[Int]){let t=a-2*a;print(t*t<8*a*a)}


Full Test Suite.

# Swift 3, 57 bytes

func f(a:[Int]){let t=a-2*a;print(t*t<8*a*a)}


Full Test Suite.

# Swift 3, 55 bytes

func f(a:Int,b:Int,c:Int){let t=c-2*a;print(t*t<8*c*b)}


Full Test Suite.

# Swift 3, 57 bytes

func f(a:[Int]){let t=a-2*a;print(t*t<8*a*a)}


Full Test Suite.

1

# Swift 3, 57 bytes

func f(a:[Int]){let t=a-2*a;print(t*t<8*a*a)}


Full Test Suite.