United States-English |
|
|
HP-UX Reference > Ccis(3M)HP Integrity Server OnlyHP-UX 11i Version 3: February 2007 |
|
NAMEcis(), cisf(), cisl(), cisw(), cisq() — complex value with unit magnitude and given angle (specified in radians) SYNOPSIS#include <complex.h> double complex cis(double x); float complex cisf(float x); long double complex cisl(long double x); extended complex cisw(extended x); quad complex cisq(quad x); DESCRIPTIONThese functions are available only for Integrity servers. cis() returns the complex value whose real and imaginary parts are the cosine and sine of x, respectively. cis(x) is equivalent to cexp(ix). cisf() is a float complex version of cis(); it takes a float argument and returns a float complex result. cisl() is a long double complex version of cis(); it takes a long double argument and returns a long double complex result. cisw() is an extended complex version of cis(); it takes an extended argument and returns an extended complex result. cisq() is equivalent to cisl() on HP-UX systems. USAGETo use these functions, compile with the default -Ae option. To use cisw() or cisq(), 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. |
Printable version | ||
|