Skip to content

Commit ba090dc

Browse files
authored
Merge pull request #756 from artFintch/migration4.2/GCD
[Swift 4.2] Update GCD
2 parents d4fd216 + ed155f2 commit ba090dc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

GCD/GCD.playground/Contents.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
//: Playground - noun: a place where people can play
22

3-
// last checked with Xcode 9.0b4
4-
#if swift(>=4.0)
5-
print("Hello, Swift 4!")
6-
#endif
7-
83
// Recursive version
94
func gcd(_ a: Int, _ b: Int) -> Int {
105
let r = a % b

0 commit comments

Comments
 (0)