Asin - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

C Run-Time Library Reference

asin

arc sine
Synopsis
#include <math.h>
double asin(double x);
float asinf (float x);
fract16 asin_fr16(fract16 x);
Description
The
function returns the arc sine of the argument. The input must
asin
be in the range [-1, 1]. The output, in radians, is in the range -π/2 to π/2.
The
asin_fr16
(
) and 0.9 (
=0x8ccd
values range from
Error Conditions
The
function returns a zero if the input is not in the defined range.
asin
Example
#include <math.h>
double y;
y = asin(1.0);
See Also
sin
3-30
function is only defined for input values between -0.9
). The input argument is in radians. Output
=0x7333
*2/π (
asin(-0.9)
/* y = π/2 */
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
) to
=0xa4C1
asin(0.9)
for ADSP-219x DSPs
*2/π (
).
=0x5B3F

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents