Difference between revisions of "LlPow/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{multi-lang}}{{LSL_Function/ja
{{LSL_Function/ja
|sort=Pow|func=llPow
|sort=Pow|func=llPow
|func_id=5|func_sleep=0.0|func_energy=10.0
|func_id=5|func_sleep=0.0|func_energy=10.0
Line 25: Line 25:
|also_tests
|also_tests
|notes
|notes
|cat1=Math/ja
|cat1=Math
|cat2=Error/Math/ja
|cat2=Error/Math
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 23:45, 18 April 2008

要約

関数: 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の関連した項目が参考になるかもしれません。