@HotSpotIntrinsicCandidate
public static double cos (double a)

Returns the trigonometric cosine of an angle. Special cases:

The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.

Parameters:
a    an angle, in radians.

Returns:  the cosine of the argument.