Sqrt - 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

sqrt

square root
Synopsis
#include <math.h>
double sqrt(double x);
float sqrtf (float x);
fract16 sqrt_fr16 (fract16 x);
Description
The
function returns the positive square root of the argument.
sqrt
Error Conditions
The
function returns a zero for a negative input.
sqrt
Example
#include <math.h>
double y;
y = sqrt(2.0);
See Also
rsqrt
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
/* y = 1.414..... */
C/C++ Run-Time Library
3-119

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