double tan (double x);
double tan (double x); float tanf (float x);long double tanl (long double x);
double tan (double x); float tan (float x);long double tan (long double x);
double tan (double x); float tan (float x);long double tan (long double x); double tan (T x); // additional overloads for integral types
<cmath>
)中为 整型 提供了附加重载:这些重载在计算前有效地将 x 转换为 double
(对 T 为任何整型类型定义)。<complex>
和 <valarray>
中被重载(请参阅 complex tan 和 valarray tan)。180/PI
度。
|
|
The tangent of 45.000000 degrees is 1.000000. |