BOOTSTRAP (klibm) functions


LIBRARY ROUTINE

kdccomp - construct a double precision complex number from two real numbers.

LIBRARY CALL

kdcomplex kdccomp(
   double a,
   double b)

INPUT

OUTPUT

none

RETURN VALUE

A kdcomplex number composed of the two inputs where the first input is the real component and the second input is the imaginary component.

DESCRIPTION

kdccomp() constructs a double precision complex number from two real numbers. The first argument becomes the real component and the second argument becomes the imaginary component of the resulting double precision complex number.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

This function returns an aggregate. If your compiler cannot deal with this, you are in trouble.

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/klibm/src/convert.c

SEE ALSO

klibm(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.