summaryrefslogtreecommitdiffstats
path: root/Scala/sandbox/sqrt.scala
diff options
context:
space:
mode:
Diffstat (limited to 'Scala/sandbox/sqrt.scala')
-rw-r--r--Scala/sandbox/sqrt.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/Scala/sandbox/sqrt.scala b/Scala/sandbox/sqrt.scala
index 2544425..c76ee00 100644
--- a/Scala/sandbox/sqrt.scala
+++ b/Scala/sandbox/sqrt.scala
@@ -18,11 +18,13 @@ object Sqrt {
sqrtIter(1.0)
}
- def run =
+ def run = {
+ println("Sqrt")
println(sqrt(2))
println(sqrt(0.001))
println(sqrt(0.1e-20))
println(sqrt(1.0e20))
println(sqrt(1.0e50))
+ }
}