|
|
HP-UX Reference > Ccexp10(3M)HP Integrity Server OnlyHP-UX 11i Version 2: December 2007 Update |
|
NAMEcexp10(), cexp10f(), cexp10l(), cexp10w(), cexp10q() — complex base-10 exponential functions SYNOPSIS#include <complex.h> double complex cexp10(double complex z); float complex cexp10f(float complex z); long double complex cexp10l(long double complex z); extended complex cexp10w(extended complex z); quad complex cexp10q(quad complex z); DESCRIPTIONcexp10() returns the complex base-10 exponential of z. cexp10f() is a float complex version of cexp10(); it takes a float complex argument and returns a float complex result. cexp10l() is a long double complex version of cexp10(); it takes a long double complex argument and returns a long double complex result. cexp10w() is an extended complex version of cexp10(); it takes an extended complex argument and returns an extended complex result. cexp10q() is equivalent to cexp10l() on HP-UX systems. USAGETo use these functions, compile with the default -Ae option. To use cexp10w() or cexp10q(), 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. RETURN VALUEcexp10(conj(z)) = conj(cexp10(z)). cexp10(±0+i0) returns 1+i0. cexp10(x+iInf) returns NaN+iNaN and raises the invalid floating-point exception, for finite x. cexp10(x+iNaN) returns NaN+iNaN and optionally raises the invalid floating-point exception, for finite x. cexp10(+Inf+i0) returns +Inf+i0. cexp10(-Inf+iy) returns +0(cos(log(10) y)+isin(log(10) y)), for finite y. cexp10(+Inf+iy) returns +Inf(cos(log(10)y) +isin(log(10)y)), for finite nonzero y. cexp10(-Inf+iInf) returns ±0±i0 (where the signs of the real and imaginary parts of the result are unspecified). cexp10(+Inf+iInf) returns ±Inf+iNaN and raises the invalid floating-point exception (where the sign of the real part of the result is unspecified). cexp10(-Inf+iNaN) returns ±0±i0 (where the signs of the real and imaginary parts of the result are unspecified). cexp10(+Inf+iNaN) returns ±Inf+iNaN (where the sign of the real part of the result is unspecified). cexp10(NaN+i0) returns NaN+i0. cexp10(NaN+iy) returns NaN+iNaN and optionally raises the invalid floating-point exception, for all non-zero numbers y. cexp10(NaN+iNaN) returns NaN+iNaN. |
|