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

abs

absolute value
Synopsis
#include <stdlib.h>
int abs(int j);
Description
The
function returns the absolute value of its
abs
function is implemented through a built-in. The built-in causes the com-
piler to emit an inline instruction to perform the required function at the
point where
abs
abs(INT_MIN)
Error Conditions
The
function does not return an error condition.
abs
Example
#include <stdlib.h>
int i;
i = abs(-5);
See Also
fabs,
labs
3-28
is called.
returns
INT_MIN
/* i == 5 */
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
input. The
int
.
for ADSP-219x DSPs
abs

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