alog
anti-log
Synopsis
#include <math.h>
double alog(double x);
float alogf (float x);
Description
The
function calculates the natural (base
alog
An anti-log function performs the reverse of a
fore equivalent to exponentiation.
The input argument
will return
HUGE_VAL
if
is less than the domain.
x
Algorithm
x
c = e
Domain
x = [-87.9 , 88.6]
Example
#include <math.h>
double y;
y = alog(1.0);
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
must be in the range [-87.9 , 88.6]. The function
x
if
is greater than the domain, and it will return 0.0
x
for
alog()
/* y = 2.71828... */
DSP Run-Time Library
) anti-log of its argument.
e
function and is there-
log
,
alogf()
4-25
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers