ACOS(3) | FreeBSD Library Functions Manual | ACOS(3) |
名称
acos, acosf, acosl — 逆余弦 (アークコサイン) 関数ライブラリ
Math Library (libm, -lm)書式
#include < math.h> double
acos( double x);
float
acosf( float x);
long double
acosl( long double x);
解説
acos(), acosf() と acosl() 関数は、 x の逆余弦 (アークコサイン) の主値を計算します。戻り値
これらの関数は、範囲[0, pi]ラジアンの逆余弦 (アークコサイン) を返します。次の場合:
|x| > 1
acos( x) は、無効 (invalid) 例外を引き起こして、NaN を返します。
関連項目
asin(3), atan(3), atan2(3), cos(3), cosh(3), fenv(3), math(3), sin(3), sinh(3), tan(3), tanh(3)規格
acos(), acosf() と acosl() 関数は、 ISO/IEC 9899:1999 (“ISO C99”) に適合しています。July 31, 2008 | FreeBSD |