class MathUtil {

	@Pure
	@Inline(value = "($1 == 0. || Double.isNaN($1)) ? 0 : (($1 < -0.) ? -1 : 1)")
	public static int sign(double value) {
		return (value == 0. || Double.isNaN(value)) ? 0 : ((value < -0.) ? -1 : 1);
	}

	private  MathUtil();

}