·  Home
+   man pages
 -> Linux -> FreeBSD -> OpenBSD -> NetBSD -> Tru64 Unix -> HP-UX 11i -> IRIX
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

man pages->Linux man pages -> exp (3)
 Title
 Content
 Arch
 Section All Sections 1 - General Commands 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface n - New Commands

## EXP(3)

```
```

### NAME[Toc][Back]

```       exp, log, log10, pow - exponential, logarithmic and power functions
```

### SYNOPSIS[Toc][Back]

```       #include <math.h>

double exp(double x);

double log(double x);

double log10(double x);

double pow(double x, double y);
```

### DESCRIPTION[Toc][Back]

```       The  exp()  function  returns the value of e (the base of natural logarithms)
raised to the power of x.

The log() function returns the natural logarithm of x.

The log10() function returns the base-10 logarithm of x.

The pow() function  returns the value of x raised to the power of y.
```

### ERRORS[Toc][Back]

```       The log() and log10() functions can return the following errors:

EDOM   The argument x is negative.

ERANGE The argument x is zero.  The log of zero is not defined.

The pow() function can return the following error:

EDOM   The argument x is negative and y is not an integral value.  This
would result in a complex number.
```

### CONFORMING TO[Toc][Back]

```       SVID 3, POSIX, BSD 4.3, ISO 9899
```

### SEE ALSO[Toc][Back]

```       sqrt(3), cbrt(3)

GNU				  1993-06-16				EXP(3)
```
[ Back ]
Similar pages
 Name OS Title expf NetBSD exponential, logarithm, power functions expm1f FreeBSD exponential, logarithm, power functions exp10f FreeBSD exponential, logarithm, power functions exp10 FreeBSD exponential, logarithm, power functions expf FreeBSD exponential, logarithm, power functions log1p FreeBSD exponential, logarithm, power functions log10 FreeBSD exponential, logarithm, power functions log FreeBSD exponential, logarithm, power functions expm1 FreeBSD exponential, logarithm, power functions logf NetBSD exponential, logarithm, power functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service