Revision 43983 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.impl/src/main/java/org/gvsig/expressionevaluator/impl/function/numeric/CoshFunction.java

View differences:

CoshFunction.java
7 7
public class CoshFunction extends AbstractFunction {
8 8

  
9 9
    public CoshFunction() {
10
        super("Numeric", "COSH", Range.is(1));
10
        super("Numeric", "COSH", Range.is(1),
11
            "Returns the hyperbolic cosine of a double value. The hyperbolic cosine of x is defined to be (ex + e-x)/2 where e is Euler's number.\n" +
12
            "Special cases:\n" +
13
            "- If the argument is NaN, then the result is NaN.\n" +
14
            "- If the argument is infinite, then the result is positive infinity.\n" +
15
            "- If the argument is zero, then the result is 1.0. \n" +
16
            "The computed result must be within 2.5 ulps of the exact result.",
17
            "COSH({{x}})",
18
            new String[]{
19
                "x - The number whose hyperbolic cosine is to be returned."
20
            },
21
            "Double"
22
        );
11 23
    }
12 24

  
13 25
    @Override

Also available in: Unified diff