BOOTSTRAP (klibm) functions
LIBRARY ROUTINE
kpow - compute x to the y power.
LIBRARY CALL
double kpow(
double x,
double y)
INPUT
- x - base of the exponentiation operation.
- y - exponent to raise the base to.
OUTPUT
none
RETURN VALUE
the double precision result of the input argument x
raised to the power of the input argument y.
DESCRIPTION
The kpow function computes x**y, which is the value of
one double precision input argument x raised to the
power of another double precision input argument y.
This is provided in all POSIX and X/OPEN
compliant C math libraries. Currently
kpow is simply a macro to pow because
Khoros does not run on any machine whose
math library does not include this function.
If Khoros is ported to a machine without this
function then a replacement will be written.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
Neither argument can be 0.
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/klibm/src/klibm.c
SEE ALSO
klibm(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.