Exponential Function
It returns the absolute value of the number .
Syntax:
float fabsf(float arg); double fabs2(double arg); long double fabsl(long double arg);
Example:
#include <math.h>
#include <stdio.h>
int main()
{
printf("%1.3f %1.4f", fabs(16.80), fabs(-41.90));
return 0;
}
Back