This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / lib / libF77 / r_abs.c
#include "f2c.h"
#ifdef KR_headers
double r_abs(x) real *x;
#else
double r_abs(real *x)
#endif
{
if(*x >= 0)
return(*x);
return(- *x);
}