Introduction
Here is the source code for Main.java
Source
public class Main {
public static void main(String[] args) {
double d1 = 123.45d, d2 = 0.0d, d3 = -0.0d;
System.out.println(StrictMath.signum(d1));
System.out.println(StrictMath.signum(d2));
System.out.println(StrictMath.signum(d3));
}
}