Meta Project

The Unofficial Meta Documentation

POWER

Summary

POWER function that raises first argument to the power of the second.

Category

MATH

Usage

POWER value1 value2

Arguments

value1 - the base value

value2 - the exponent

Refinements

This method has no refinements

Description

POWER raises first argument to the power of the second. POWER is prefix notation. Meta also can handle the infix operator ^ for this.

Example Code

POWER as prefix

result: POWER 2 4

with result of 16.

ADD as infix

result: 2 ^ 4

with also a result of 16

Related

SUBTRACT  
MULTIPLY  
ADD  
DIVIDE  
MODULO  

Back to the Meta Methods Reference index