Skip to content

Commit e1bca91

Browse files
authored
Merge pull request kodecocodes#794 from afonsograca/feature/miller-rabin
[Swift 4.2] Update Miller-Rabin Primality Test
2 parents 2306a54 + 32fe7e8 commit e1bca91

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

Miller-Rabin Primality Test/MRPrimality.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
// Real primes
94
mrPrimalityTest(5)
105
mrPrimalityTest(439)

Miller-Rabin Primality Test/MRPrimality.playground/playground.xcworkspace/contents.xcworkspacedata

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)