C Run-Time Library Reference
labs
long integer absolute value
Synopsis
#include <stdlib.h>
long int labs(long int j);
Description
The
function returns the absolute value of its integer input.
labs
Error Conditions
The
function does not return an error condition.
labs
Example
#include <stdlib.h>
long int j;
j = labs(-285128);
See Also
abs,
fabs
3-86
/* j = 285128 */
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers