BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

katan - compute the arc tangent of the argument.

LIBRARY CALL

double katan(double x)

INPUT

OUTPUT

none

RETURN VALUE

the double precision arc tangent of the input argument.

DESCRIPTION

The katan function computes arc tangent of the double precison input argument. The result is an angle with the value between -pi/2 and pi/2 radians.

This is provided in all POSIX and X/OPEN compliant C math libraries. Currently katan is simply a macro to atan 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.