summaryrefslogtreecommitdiff
path: root/test/files/jvm/signum.scala
Commit message (Collapse)AuthorAgeFilesLines
* Changes scala.math.signum to return negative zeros.Dominik Gruntz2012-05-081-0/+6
|
* Delegate to Java's implementation of signum for Long and Int.Ismael Juma2011-12-031-0/+15
The Java implementation is faster as it doesn't have branches. java.lang.Math includes implementations of signum for Double and Float, but I didn't change the ones in scala.math because there is a difference on how negative zero is handled.