Difference between revisions of "LlLog/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m (pre → lsl)
Line 10: Line 10:
|caveats
|caveats
|constants
|constants
|examples=<pre>
|examples=<lsl>
default
default
{
{
Line 20: Line 20:
   }
   }
}
}
</pre>
</lsl>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llLog10/ja|llLog10]]|}}
|also_functions={{LSL DefineRow||[[llLog10/ja|llLog10]]|}}

Revision as of 14:57, 11 February 2009

要約

関数: float llLog( float val );

valが0以下の場合は、代わりに0.0を返します。
val"Wikipedia logo"自然対数を float で返します。

• float val

底が10の対数を取得するにはllLog10を用います。

サンプル

<lsl> default {

 state_entry()
 {
   float num1 = llFrand(100.0);
   llOwnerSay("The natural logarithm of " + (string)num1 + " is " + (string)llLog(num1));
 }

}

</lsl>

関連項目

関数

•  llLog10
•  llPow
•  llSqrt

記事

•  "Wikipedia logo"自然対数

特記事項

Search JIRA for related Issues

Signature

function float llLog( float val );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。