exp (Windows CE 5.0)

Send Feedback

Developing an Application > Microsoft C Run-time Library for Windows CE > Run-time Library Reference

Calculates the exponential.

double exp(    doublex);

Parameters

  • x
    Floating-point value.

Return Values

The exp function returns the exponential value of the floating-point parameter, x, if successful.

On overflow, the function returns INF (infinite).

On underflow, exp returns 0.

Example

/* EXP.C */


void main( void )
{
   double x = 2.302585093, y;

   y = exp( x );
   printf( "exp( %f ) = %f\n", x, y );
}

Output

exp( 2.302585 ) = 10.000000

Requirements

OS Versions: Windows CE 2.0 and later.
Header: stdlib.h.
Link Library: coredll.dll.

See Also

log

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.