Older Newer
Tue, 07 Jan 2020 03:22:51 . . . . SyneRyder [Function definition]


Changes by last author:

Added:
= ipow =

== Syntax ==

int ipow(int x, int y)

== Arguments ==

:x

::The value to be raised to a power.

:y

::The power to which the value is raised.

== Return ==

x raised to the power of y.

== Description ==

Returns x raised to the power of y: x^^y^^

== Example ==

<code>

%fml

OnFilterStart:

{

// This should give 2x2x2 = 8

Info("ipow(1,3) gives %d", ipow(2, 3));

}

</code>

== See Also ==

pow, powi

== Comments ==

Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.