「テンプレート:Powf」の版間の差分

提供:脳科学辞典
ナビゲーションに移動 検索に移動
(1版)
 
(相違点なし)

2015年3月14日 (土) 12:15時点における最新版


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