summaryrefslogtreecommitdiff
path: root/test/pending/shootout/harmonic.scala-2.scala
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2017-03-21 10:35:05 -0700
committerSeth Tisue <seth@tisue.net>2017-03-21 10:35:05 -0700
commit4b9816100c704fd8ecfb1a8fa66f86e6284c07cb (patch)
tree5f748bbc562da8803513444375659f7cd96496f5 /test/pending/shootout/harmonic.scala-2.scala
parent25048bc73741846107c18ed01e0e9f6f07785379 (diff)
downloadscala-4b9816100c704fd8ecfb1a8fa66f86e6284c07cb.tar.gz
scala-4b9816100c704fd8ecfb1a8fa66f86e6284c07cb.tar.bz2
scala-4b9816100c704fd8ecfb1a8fa66f86e6284c07cb.zip
remove test/pending directory too
it will all stay right there in the Git history to be consulted anytime we want...
Diffstat (limited to 'test/pending/shootout/harmonic.scala-2.scala')
-rw-r--r--test/pending/shootout/harmonic.scala-2.scala14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/pending/shootout/harmonic.scala-2.scala b/test/pending/shootout/harmonic.scala-2.scala
deleted file mode 100644
index a55e164e50..0000000000
--- a/test/pending/shootout/harmonic.scala-2.scala
+++ /dev/null
@@ -1,14 +0,0 @@
-/* The Computer Language Shootout
- http://shootout.alioth.debian.org/
- contributed by Isaac Gouy (Scala novice)
-*/
-
-object harmonic {
- def main(args: Array[String]) = {
- val n = Integer.parseInt(args(0));
- var partialSum = 0.0;
-
- for (i <- Iterator.range(1,n+1)) partialSum = partialSum + 1.0/i;
- Console.printf("{0,number,#.000000000}\n")(partialSum);
- }
-}