class MathUtil extends AbstractCaller {

	@Description("Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.<br/>"
            + "Special cases:<br/>"
			+ "If the argument value is already equal to a mathematical integer, then the result is the same as the argument.<br/>"
			+ "If the argument is NaN or an infinity or positive zero or negative zero, then the result is the same as the argument.<br/>"
			+ "If the argument value is less than zero but greater than -1.0, then the result is negative zero.<br/>"
			+ "Note that the value of Math.ceil(x) is exactly the value of -Math.floor(-x).<br/>"
            + "<b>d</b> - a double value for ceiling.<br/>"
            + "Example:<br/>"
            + "#{ceil(-5.1)} returns -5.0<br/>"
            + "#{ceil(5.1)} returns 6.0")
	@UtilityMethod
	public double ceil(double d) {
		return Math.ceil(d);
	}

}