POW(III) 4/30/73 POW(III)
NAME
pow - floating exponentiation
SYNOPSIS
movf x,fr0
movf y,fr1
jsr pc,pow
double pow(x,y)
double x, y;
DESCRIPTION
y
Pow returns the value of x (in fr0). Pow(0, y) is 0 for
any y. Pow(-x, y) returns a result only if y is an integer.
SEE ALSO
exp(III), log(III)
DIAGNOSTICS
The carry bit is set on return in case of overflow,
pow(0, 0), or pow(-x, y) for non-integral y. From C there
is no diagnostic.
BUGS