diff options
author | jeberle <jeberle@epfl.ch> | 2008-05-27 08:10:22 +0000 |
---|---|---|
committer | jeberle <jeberle@epfl.ch> | 2008-05-27 08:10:22 +0000 |
commit | a480d4381e2f49479552a8b3f14b82618b54e8e1 (patch) | |
tree | 9884705164413cf7c6fc411ab0f0ad669d848f75 /src/library | |
parent | bb04dae00bf79832a11c68bf2e2e5d1c66d9c7f8 (diff) | |
download | scala-a480d4381e2f49479552a8b3f14b82618b54e8e1.tar.gz scala-a480d4381e2f49479552a8b3f14b82618b54e8e1.tar.bz2 scala-a480d4381e2f49479552a8b3f14b82618b54e8e1.zip |
commented some lines in Sorting.scala (they whe...
commented some lines in Sorting.scala (they where only for testing)
which doesn't compile in .NET.
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/util/Sorting.scala | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/library/scala/util/Sorting.scala b/src/library/scala/util/Sorting.scala index 63c77dac38..e015223223 100644 --- a/src/library/scala/util/Sorting.scala +++ b/src/library/scala/util/Sorting.scala @@ -544,24 +544,25 @@ object Sorting { val doubles = Array( 3.4054752250314283E9, 4.9663151227666664E10, - 0.0/0.0, +// 0.0/0.0 is interpreted as Nan +// 0.0/0.0, 4.9663171987125E10, 5.785996973446602E9, - 0.0/0.0, +// 0.0/0.0, 3.973064849653333E10, 3.724737288678125E10, - 0.0/0.0 +// 0.0/0.0 ) val floats = Array( 3.4054752250314283E9f, 4.9663151227666664E10f, - 0.0f/0.0f, +// 0.0f/0.0f, 4.9663171987125E10f, 5.785996973446602E9f, - 0.0f/0.0f, +// 0.0f/0.0f, 3.973064849653333E10f, 3.724737288678125E10f, - 0.0f/0.0f +// 0.0f/0.0f ) Sorting quickSort tuples println(tuples.toList) |