Java tanh tanh(double paramDouble)

Here you can find the source of tanh(double paramDouble)

Description

tanh

License

Open Source License

Declaration

public static strictfp double tanh(double paramDouble)
    

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static strictfp double tanh(double paramDouble)
    /*     */{/*from w  w  w.  j  ava2  s  .c om*/
        /* 330 */return sinh(paramDouble) / cosh(paramDouble);
        /*     */}

    public static strictfp double sinh(double paramDouble)
    /*     */{
        /* 304 */return (StrictMath.exp(paramDouble) - StrictMath
                .exp(-paramDouble)) * 0.5D;
        /*     */}

    public static strictfp double cosh(double paramDouble)
    /*     */{
        /* 317 */return (StrictMath.exp(paramDouble) + StrictMath
                .exp(-paramDouble)) * 0.5D;
        /*     */}
}

Related

  1. tanh(double t)
  2. tanh(double x)
  3. tanh(double x)
  4. tanh(Double x)