log
natural logarithm
Synopsis
#include <math.h>
double log(double);
float logf(float);
Description
The
function computes the natural (base e) logarithm of its input.
log
Error Conditions
The
function returns a zero and sets
log
negative.
Example
#include <math.h>
double y;
y = log(1.0);
See Also
alog, exp,
log10
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
/* y = 0.0 */
C/C++ Run-Time Library
to
if the input value is
errno
EDOM
3-89
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers