テンプレート:Powf/explanation

提供:脳科学辞典
< テンプレート:Powf
2015年3月14日 (土) 12:15時点におけるNijcadmin (トーク | 投稿記録)による版 (1版)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

Like

, allows a number be raised to a power from -20 to 20. Powers of greater than 20 are treated as 20 and those less than -20 as -20. Optionally allows multiplication by a third parameter (applying #expr using the result of pow does not work if the power is in scientific notation). All parameters can be expressions.

Usage:
{{powf|<base>|<power>|<factor>}}

Examples:

  • {{powf|100|-4|3+1/7}} gives 3.1428571428571E-8
  • {{powf|1+1/20|20}} gives 2.6532977051444
  • {{powf|{{powf|1+1/400|20}}|20}} gives 2.714891744382

編集 powf/explanation