LlPow/ja

From Second Life Wiki
< LlPow
Revision as of 23:45, 18 April 2008 by Asuka Neely (talk | contribs)
Jump to navigation Jump to search

要約

関数: float llPow( float base, float exponent );

冪法則(baseexponent)で持ち上げられるbaseを float で返します。

• float base
• float exponent

虚数の結果((exponent != (integer)exponent) && (base < 0.0))は演算エラーを引き起こします。

警告

  • スクリプトがクラッシュする可能性があります。
All Issues ~ Search JIRA for related Bugs

サンプル

default {
     state_entry() {
          llOwnerSay("llPow(5, .5) (" + (string)llPow(5, .5) + ") is equal to llSqrt(5) (" 
                      + (string)llSqrt(5) + ").");
     }result
}

関連項目

関数

•  llLog
•  llLog10
•  llSqrt

特記事項

Search JIRA for related Issues

Signature

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