scala/scala — pull request #23 by ijuma (2011-12-03 02:19:13+00:00)
Title: Delegate to Java's implementation of signum for Long and Int.

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.