mathPow

Raises a base to a power (exponentiation). Takes base (base number), exponent (power to raise to). Returns base^exponent.

Mathematics

Parameters & Returns

Parameters

base Double
exponent Double

Returns

Double

Quick Summary

Raises a base to a power (exponentiation). Takes base (base number), exponent (power to raise to). Returns base^exponent.

Technical Exegesis...

Returns the result of raising base to the power of exponent (base^exponent).

Examples: mathPow(2.0, 3.0) returns 8.0, mathPow(5.0, 2.0) returns 25.0, mathPow(4.0, 0.5) returns 2.0

Supports fractional exponents for root calculations and negative exponents for reciprocals.

Example

Example.bam
; No example implemented yet