Oracle Solaris Studio 12.4 Man Pages

印刷ビューの終了

更新: January 2015
 
 

sind(3M)

名前

sind , sindf , sindl , cosd , cosdf , cosdl , tand , tandf , tandl , sincosd , sincosdf , sincosdl , asind , asindf , asindl , acosd , acosdf , acosdl , atand , atandf , atandl , atan2d , atan2df , atan2dl - 度数に基づく三角関数

形式

cc [ flag ... ] file ...  -lsunmath -lm [ library ... ]
#include <sunmath.h>
double sind(double x);
float sindf(float x);
long double sindl(long double x);
double cosd(double x);
float cosdf(float x);
long double cosdl(long double x);
double tand(double x);
float tandf(float x);
long double tandl(long double x);
void sincosd(double x, double *s, double *c);
void sincosdf(float x, float *s, float *c);
void  sincosdl(long  double  x,  long double *s, long double *c);
double asind(double x);
float asindf(float x);
long double asindl(long double x);
double acosd(double x);
float acosdf(float x);
long double acosdl(long double x);
double atand(double x);
float atandf(float x);
long double atandl(long double x);
double atan2d(double y, double x);
float atan2df(float y, float x);
long double atan2dl(long double y, long double x);

説明

sind(x)cosd(x)、および tand(x) は、度数で測定された角度の三角関数 sind(x) := sin(x * pi/180) を計算します。cosd(x)tand(x) の場合も同様です。

sincosd(x, s, c) は、*s = sind(x)*c = cosd(x) を同時に設定します。

対応する逆関数は、asind(x) := asin(x) * 180/pi を計算します。acosd(x)atand(x) の場合も同様です。また、atan2d(y, x) := atan2(y, x) * 180/pi も計算します。

属性

次の属性については、attributes(5) を参照してください。

属性タイプ
属性値
インタフェースの安定性
確実
MT レベル
MT-安全

関連項目

asin(3M)、acos(3M)、atan(3M)、atan2(3M)、cos(3M)、sin(3M)、sincos(3M)、sinp(3M)、sinpi(3M)、tan(3M)、attributes(5)