Table 4-4. Math Library (Cont'd)
Description
Arc Sine
Arc Tangent
Arc Tangent of
Quotient
Ceiling
Cosine
Hyperbolic Cosine
Cotangent
Exponential
Floor
Floating Point
Remainder
Get Mantissa and
Exponent
Multiply by Power of 2
Natural Logarithm
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
Prototype
double asin (double x);
float asinf (float x);
fract16 asin_fr16 (fract16 x);
double atan (float x);
float atanf (float x);
fract16 atan_fr16 (fract16 x);
double atan2 (double x, double y);
float atan2f (float x, float y);
fract16 atan2_fr16 (fract16 x, fract16 y);
double ceil (double x);
float ceilf (float x);
double cos (double x);
float cosf (float x);
fract16 cos_fr16 (fract16 x);
double cosh (double x);
float coshf (float x);
double cot (double x);
float cotf (float x);
double exp (double x);
float expf (float x);
double floor (double x);
float floorf (float x);
double fmod (double x, double y);
float fmodf (float x, float y);
double frexp (double x, int *n);
float frexpf (float x, int *n);
double ldexp (double x, int n);
float ldexpf (float x, int n);
double log (double x);
float logf (float x);
DSP Run-Time Library
4-11
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?