Java cos cos(Long a)

Here you can find the source of cos(Long a)

Description

Cos.

License

Open Source License

Parameter

Parameter Description
a the a

Return

the double

Declaration

public static double cos(Long a) 

Method Source Code

//package com.java2s;

public class Main {
    /**//  ww  w . ja  va 2 s .  co m
     * Cos.
     *
     * @param a the a
     * @return the double
     */
    public static double cos(Short a) {
        return Math.cos(a.doubleValue());
    }

    /**
     * Cos.
     *
     * @param a the a
     * @return the double
     */
    public static double cos(Integer a) {
        return Math.cos(a.doubleValue());
    }

    /**
     * Cos.
     *
     * @param a the a
     * @return the double
     */
    public static double cos(Float a) {
        return Math.cos(a.doubleValue());
    }

    /**
     * Cos.
     *
     * @param a the a
     * @return the double
     */
    public static double cos(Long a) {
        return Math.cos(a.doubleValue());
    }

    /**
     * Cos.
     *
     * @param a the a
     * @return the double
     */
    public static double cos(Double a) {
        return Math.cos(a);
    }
}

Related

  1. cos(int angle)
  2. cos(int angle)
  3. cos(int f)
  4. cos(int i)
  5. cos(Integer a)
  6. cosd(double degreeAngle)
  7. cosd(double x)
  8. cosDeg(double degrees)
  9. cosf(float f)