njPow Japanese
<-|INDEX|->
Returns the power of a number.

FORMAT

#include <Ninja.h> 
Float njPow( n1, n2 )
Float n1 
Float n2

PARAMETERS

n1
arbitrary real number 1
n2
arbitrary real number 2

RETURN VALUE

value of n1 to the n 2nd power

FUNCTION


EXAMPLE

void main( void )
{
Float x = 2.f , y = 4.f
Float ans;

ans = njPow( x , y );
printf( "ans = %f\n", ans );
}
ans = 16.000000

NOTES


RELATED TOPICS


njPow
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997