tail head cat sleep
QR code linking to this page

manページ  — ACOS

名称

acos, acosf – 逆余弦関数

内容

ライブラリ

Math Library (libm, -lm)

書式


#include <math.h>
double
acos(double x);

float
acosf(float x);

解説

acos() および acosf() 関数は、 x の逆余弦の主値を計算します。 [-1, +1] の区間外の引数によって、領域エラーが発生します。 丸めによる誤差の議論は、 math(3) を参照してください。

戻り値

acos() および acosf() 関数は、 [0, π] ラジアンの区間の逆余弦を返します。 VAX および Tahoe では、
 amp;|xamp;| > 1

の場合に、 acos(x) はグローバル変数 errno を EDOM に設定し、予約されたオペランドフォルトが生成されます。

関連項目

asin(3), atan(3), atan2(3), cos(3), cosh(3), math(3), sin(3), sinh(3), tan(3), tanh(3)

規格

acos() 関数は、 ISO/IEC 9899:1990 ("ISO C90") に適合しています。


ACOS (3) May 2, 1991

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

“ Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They're the first ones to laugh at hapless users, trying to figure out an error message that doesn't have anything to do with what they just typed. ”
— The Unix Haters' handbook