Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->log() logl()

Summary

#include <math.h>

    
double log(double x)Calculate natural logarithm to double precision
long double logl(long double x)Calculate natural logarithm to long double precision

Parameter
    
xFloating point value


Description

These functions calculate the natural logarithm of x.  The result is undefined if x is less than zero.


Return

These functions return the natural logarithm of the parameter passed.