Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changes scala.math.signum to return negative zeros. | Dominik Gruntz | 2012-05-08 | 1 | -0/+6 |
| | |||||
* | Delegate to Java's implementation of signum for Long and Int. | Ismael Juma | 2011-12-03 | 1 | -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. |