summaryrefslogtreecommitdiff
path: root/test/files/jvm/si5471.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/si5471.scala')
-rw-r--r--test/files/jvm/si5471.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/si5471.scala b/test/files/jvm/si5471.scala
index 2c8c4205c5..2efd869b61 100644
--- a/test/files/jvm/si5471.scala
+++ b/test/files/jvm/si5471.scala
@@ -4,12 +4,12 @@ object Test {
def main(args: Array[String]) {
import scala.math.Numeric
import scala.math.Numeric.Implicits._
-
+
val b = BigInt(Long.MaxValue) + 1
def dbl[N :Numeric](n: N) = n.toDouble
def flt[N :Numeric](n: N) = n.toFloat
-
+
println(dbl(b) == b.toDouble)
println(flt(b) == b.toFloat)
}