summaryrefslogtreecommitdiffstats
path: root/Scala/sandbox/sqrt.scala
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-04-03 22:18:48 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-10 18:03:22 +0100
commit476583c90a47cad62f992ab0b845ebf2897cb47d (patch)
treec3742b376e852cc34b3bcfe052fd7aa1acbc09f5 /Scala/sandbox/sqrt.scala
parent545c03ac4981737594d7638b7a925d1881a74cdc (diff)
downloadcoursera-476583c90a47cad62f992ab0b845ebf2897cb47d.zip
coursera-476583c90a47cad62f992ab0b845ebf2897cb47d.tar.gz
Scala : cleanup, Scala : add sumCurry
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))
+ }
}