Jump to content

Template:Pow1

From Meta, a Wikimedia project coordination wiki

Raises a number to a power from 0 to 119.

Usage:
{{pow1|<base>|<power>}}

Examples:

  • "{{pow1|12|0}}" gives "1 " [1]
  • "{{pow1|2|30}}" gives "1073741824 " [2]
  • "{{pow1|2+3|5-2}}" gives "125 " [3]
  • "{{pow1|1.01|100}}" gives "2.7048138294215 " [4]
  • "{{pow1|1.01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001|100}}" gives "2.7048138294215 " [5] (long expressions allowed)
  • "{{pow1|1000|102}}" gives "1.0E+306 " [6]
  • "{{pow1|6553.6|64}}" gives "1.7976931348623E+244 " [7]
  • "{{pow1|65535.99999999999|64}}" gives "1.7976931348623E+308 " [8] (largest number)
  • "{{pow1|65536|64}}" gives "INF " [9]