This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



CEXP(3)                                 BSD Library Functions Manual                                 CEXP(3)

NAME
     cexp -- complex exponential function

SYNOPSIS
     #include <complex.h>

     double complex
     cexp(double complex z);

     long double complex
     cexpl(long double complex z);

     float complex
     cexpf(float complex z);

DESCRIPTION
     cexp(z) returns the complex exponential of z.

     cexp(conj(z)) = conj(cexp(z)), for all complex floating-point numbers z.

SPECIAL VALUES
     The conjugate symmetry of cexp() is used to abbreviate the specification of special values.

     cexp(+-_ + _i) returns 1 + 0i.

     cexp(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite x.

     cexp(x + NaN i) returns NaN + NaN i, for finite x.

     cexp(inf + _i) returns inf + 0i.

     For the following two cases, cis(y) denotes cos(y) + I*sin(y).

     cexp(-inf + yi) returns 0*cis(y), for finite y.

     cexp(inf + yi) returns inf*cis(y), for finite nonzero y.

     cexp(-inf + inf i) returns -0 + 0i.

     cexp(inf + inf i) returns -inf + NaN i, and raises the invalid flag.

     cexp(-inf + NaN i) returns -0 + 0i.

     cexp(inf + NaN i) returns -inf + NaN i.

     cexp(NaN + _i) returns NaN + 0i.

     cexp(NaN + yi) returns NaN + NaN i for all nonzero numbers y.

     cexp(NaN + NaN i) returns NaN + NaN i.

SEE ALSO
     exp(3) clog(3) complex(3)

STANDARDS
     The cexp() function conforms to ISO/IEC 9899:1999(E).

4th Berkeley Distribution                     December 11, 2006                    4th Berkeley Distribution

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...