Available on: all targets ✓ verified

POW

The POW function raises a number to the power of another number. The result is a number raised to the power of exponent. It can be also represented using the ^ (circumflex) character as exponential symbol. The type of the result is big enough to maintain the next size of the operands. The exponent value must be integer and positive. When more than one exponent is executed in a single expression, the ^ operator is evaluated as it is encountered from left to right.

SYNTAX

 = POW( base, exponent )
 = base ^ exponent


Legend
  • id : identifier
  • type : datatype
  • v : value
  • "..." : string
  • [...] : optional

EXAMPLE

 pitagora = POW(a,2) + b^2 + POW(c,2)


Used in:

Any problem?

If you have found a problem with this keyword, if you think there is a bug or, more simply, you would like it to be improved, open an issue for this example on GitHub.
Thank you!

open an issue BACK TO KEYWORDS