LlPow/ja

From Second Life Wiki
Jump to navigation Jump to search

要約

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

baseexponent 乗したもの (baseexponent) を 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) + ").");
     }
}

関連項目

関数

•  llLog
•  llLog10
•  llSqrt

特記事項

Search JIRA for related Issues

Signature

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