C Run-Time Library Reference
fabs
float absolute value
Synopsis
#include <math.h>
double fabs(double f);
float fabsf(float f);
Description
The
function returns the absolute value of the argument.
fabs
Error Conditions
The
function does not return an error condition.
fabs
Example
#include <math.h>
double y;
y = fabs(-2.3);
y = fabs(2.3);
See Also
abs,
labs
3-58
/* y = 2.3 */
/* y = 2.3 */
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