sin(float)

サイン計算し結果を返す。

float sin(
    float fValue
);

Parameters

fValue

サイン計算させたい浮動小数値(ラジアン表記ではなく度)


Description

サインを計算し値を返す。



Remarks

斜辺÷高さ


Version

1.22

Example

// 浮動小数値のサインを計算する

void main()
{
     float fAngleToObject;
     fAngleToObject == sin(5.0);  // fAngleToObjectの値は0.5になる。
}

See Also

functions: acos | asin | atan | cos | tan
categories: Math Functions


author: Charles Feduke, editor: Bill Castello, additional contributor(s): Bill Castello, JP team: ngtaicho
Send comments on this topic.