## Linux and UNIX Man Pages

Test Your Knowledge in Computers #448
Difficulty: Medium
Quirky Linux and Puppy Linux were both created by Barry Kauler.
True or False?

# cexp(3m) [sunos man page]

```cexp(3M)						  Mathematical Library Functions						  cexp(3M)

NAME
cexp, cexpf, cexpl - complex exponential functions

SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <complex.h>

double complex cexp(double complex z);

float complex cexpf(float complex z);

long double complex cexpl(long double complex z);

DESCRIPTION
These functions compute the complex exponent of z, defined as e^z.

RETURN VALUES
These functions return the complex exponential value of z.

ERRORS
No errors are defined.

ATTRIBUTES
See attributes(5) for descriptions of the following attributes:

+-----------------------------+-----------------------------+
|      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
+-----------------------------+-----------------------------+
|Interface Stability	     |Standard			   |
+-----------------------------+-----------------------------+
|MT-Level		     |MT-Safe			   |
+-----------------------------+-----------------------------+

SunOS 5.10							    1 Sep 2002								  cexp(3M)```

## Check Out this Related Man Page

```CEXP(3)                                                      Linux Programmer's Manual                                                     CEXP(3)

NAME
cexp, cexpf, cexpl - complex exponential function

SYNOPSIS
#include <complex.h>

double complex cexp(double complex z);
float complex cexpf(float complex z);
long double complex cexpl(long double complex z);

DESCRIPTION
These functions calculate e (2.71828..., the base of natural logarithms) raised to the power of z.

One has:

cexp(I * z) = ccos(z) + I * csin(z)

VERSIONS
These functions first appeared in glibc in version 2.1.

ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).

+-------------------------+---------------+---------+
|Interface                | Attribute     | Value   |
+-------------------------+---------------+---------+
|cexp(), cexpf(), cexpl() | Thread safety | MT-Safe |
+-------------------------+---------------+---------+

CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008.