Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->fabs() fabsl()

Summary

#include <math.h>

    
double fabs(double x);Calculate absolute value to double precision
long double fabsl(long double x);Calculate absolute value to long double precision

Parameter

x    Floating point value


Description

These functions calculate the absolute value of x.


Return

These functions return the absolute value of the value passed.