double acos (double x);
double acos (double x); float acosf (float x);long double acosl (long double x);
double acos (double x); float acos (float x);long double acos (long double x);
double acos (double x); float acos (float x);long double acos (long double x); double acos (T x); // additional overloads for integral types
<cmath>
) 中为整数类型提供了额外的重载:这些重载在计算前有效地将 x 转换为 double
(为任意整数类型 T 定义)。<complex>
和 <valarray>
中被重载(参见 complex acos 和 valarray acos)。[-1,+1]
。180/PI
度。
|
|
The arc cosine of 0.500000 is 60.000000 degrees. |