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


log1p

The function log1p computes the base-e logarithm.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


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

Parameters for this function are:

x  
double  
The value being computed  

Return:

The base-e logarithm of 1 plus x.

Remarks:

For small magnitude x, log1p(x) is expected to be more accurate than log(x+1)

"log"


[ 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