|
|
HP-UX Reference > Ccisd(3M)HP Integrity Server OnlyHP-UX 11i Version 2: December 2007 Update |
|
NAMEcisd(), cisdf(), cisdl(), cisdw(), cisdq() — complex value with unit magnitude and given angle specified in degrees SYNOPSIS#include <complex.h> double complex cisd(double x); float complex cisdf(float x); long double complex cisdl(long double x); extended complex cisdw(extended x); quad complex cisdq(quad x); DESCRIPTIONcisd() returns the complex value whose real and imaginary parts are the cosine and sine of x, respectively; where x is specified in degrees. cisdf() is a float complex version of cisd(); it takes a float argument and returns a float complex result. cisdl() is a long double complex version of cisd(); it takes a long double argument and returns a long double complex result. cisdw() is an extended complex version of cisd(); it takes an extended argument and returns an extended complex result. cisdq() is equivalent to cisdl() on HP-UX systems. USAGETo use these functions, compile with the default -Ae option. To use cisdw() or cisdq(), compile with the -fpwidetypes option. Make sure your program includes <complex.h>. Link in the math library by specifying -lm on the compiler or linker command line. |
|