我想看看java是如何计算三角函数的,我的想法能被满足吗?
[code="java"]/**
* Returns the trigonometric cosine of an angle. Special cases:
*
- If the argument is NaN or an infinity, then the
* result is NaN.
*
* @param a an angle, in radians.
* @return the cosine of the argument.
*/
public static native double cos(double a);[/code]