Capy-Bearer Documentation

pow

host call

Capy

function pow(base : f32, exponent : f32) f32
function pow(base : f64, exponent : f64) f64

Description

pow() returns the host math result for value.

This function uses a host call.

Parameters

base : the base value

exponent : the exponent

Return Values

An f32 or f64 value.

Example

Capy

var value := pow(2.0)
print(value, "\n")