[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


expm1

The function expm1 computes the base-e exponential minus 1.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>
double expm1  ( double x );
Parameters:

Parameters for this function are:

x  
double  
The value to compute  

Return:

The base-e exponential of x, minus 1: (e^x) -1.

Remarks:

A range error occurs if x is too large. For small magnitude x, expm1(x) is expected to be more accurate than exp(x) -1


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000