Manpage of EXP

Google
Web www.fiveanddime.net

EXP

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

1.12 `exp', `expf'--exponential

 

SYNOPSIS


     #include <math.h>
     double exp(double X);
     float expf(float X);  

DESCRIPTION

`exp' and `expf' calculate the exponential of X, that is, e raised to the power X (where e is the base of the natural system of logarithms, approximately 2.71828).


   You can use the (non-ANSI) function `matherr' to specify error handling for these functions.

 

RETURNS

On success, `exp' and `expf' return the calculated value. If the result underflows, the returned value is `0'. If the result overflows, the returned value is `HUGE_VAL'. In either case, `errno' is set to `ERANGE'.

 

PORTABILITY

`exp' is ANSI C. `expf' is an extension.

 

SEE ALSO

exp is part of the libm library. The full documentation for libm is maintained as a Texinfo manual. If info and libm are properly installed at your site, the command
info libm

will give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
PORTABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:16 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net