double atan(double x);
double atan (double x); float atanf (float x);long double atanl (long double x);
double atan (double x); float atan (float x);long double atan (long double x);
double atan (double x); float atan (float x);long double atan (long double x); double atan (T x); // additional overloads for integral types
<cmath>
) 中为整型类型提供了额外的重载:这些重载在计算前有效地将 x 转换为 double
(定义为 T 是任何整型类型)。<complex>
和 <valarray>
中也被重载(参见 complex atan 和 valarray atan)。180/PI
度。
|
|
The arc tangent of 1.000000 is 45.000000 degrees. |