Description
There are no unit tests for FastMath.signum(double) as yet.
Here is one that should work, but fails:
@Test public void testSignum() { Assert.assertTrue(Double.valueOf(FastMath.signum(+0.0)).equals(Double.valueOf(Math.signum(+0.0)))); // OK Assert.assertTrue(Double.valueOf(FastMath.signum(-0.0)).equals(Double.valueOf(Math.signum(-0.0)))); // FAILS }