home *** CD-ROM | disk | FTP | other *** search
- *********
- * Function : POWER
- * By : Ralph Davis
- * Placed in the public domain by Tom Rettig Associates, 10/22/1990.
- *********
-
-
- FUNCTION POWER
- * Syntax: POWER( <number>, <power> )
- * Return: <expN> value of <number> raised to <power>
- * <number> and <power> are both <expN>
- PARAMETERS x, y
-
- IF x < 0
- RETURN -EXP( y * LOG(ABS(x)) )
- ELSE
- RETURN EXP( y * LOG(ABS(x)) )
- ENDIF
- * eofunc: power
-
-
-