freebsd-dev/contrib/libf2c/libF77/d_abs.c
2003-07-11 03:42:19 +00:00

10 lines
100 B
C

#include "f2c.h"
double
d_abs (doublereal * x)
{
if (*x >= 0)
return (*x);
return (-*x);
}