tail head cat sleep
QR code linking to this page

manページ  — TAN

名称

tan, tanf – 正接関数

内容

ライブラリ

Math Library (libm, -lm)

書式

#include <math.h>

double
tan(double x);

float
tanf(float x);

解説

tan() および tanf() 関数は、(ラジアンで計測された) x の正接を計算します。 大きな引数は、ほとんどまたは全く意味のない結果を生じることがあります。 丸めによる誤差の議論は、 math(3) を参照してください。

戻り値

tan() 関数は、正接の値を返します。

関連項目

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

規格

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


TAN (3) May 2, 1991

tail head cat sleep
QR code linking to this page


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

Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.”