^ | ||||||||||
Type | operator | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Raises a number to a power. | |||||||||
Introduced | 1.0 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Function: ln1, exp, sqrt Glossary: operator, operation, math operation | |||||||||
Description | Use the ^ operator to raise a number to a power, or to find a root of a number. If the exponent is a fraction, with 1 as the numerator, the ^ operator finds the specified root of the number. For example, if the exponent is 1/2, the operation yields the square root of number; if the exponent is 1/4, the operation yields the 4th root of the number, and so on. If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information. | |||||||||
Tags | math |