Here you can find the source of cos(Long a)
Parameter | Description |
---|---|
a | the a |
public static double cos(Long a)
//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); } }