LlLog10/ja
< LlLog10
| LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
要約
関数: float llLog10( float val );valが0以下の場合、代わりにzeroを返します。
valの、底が10のError creating thumbnail: Unable to save thumbnail to destination 対数を float で返します。
| • float | val |
Error creating thumbnail: Unable to save thumbnail to destination 自然対数を取得するには、llLogを用います。
llLog10は、底が10の対数が必要とされる場所にのみ使うべきで、 全てのその他のアプリケーションは代わりにllLogを使うべきです。
サンプル
default
{
state_entry()
{
float num1 = llFrand(100.0);
llOwnerSay("The base 10 logarithm of " + (string)num1 + " is " + (string)llLog10(num1));
}
}注意点
関連項目
特記事項
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。