BOOTSTRAP (klibm) functions
LIBRARY ROUTINE
kldexp - computes x * 2**n
LIBRARY CALL
double kldexp(
double x,
int n)
INPUT
- x - double argument to x * 2**n
- n - integer argument to x * 2**n
OUTPUT
none
RETURN VALUE
the double precision value x * 2**n
DESCRIPTION
The kldexp function computes x * 2**n
by performing exponent manipulation rather
than multiplication.
This is provided in all POSIX and X/OPEN
compliant C math libraries. Currently
kldexp is simply a macro to ldexp 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
none
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.