freebsd-skq/contrib/libf2c/libF77/r_abs.c

10 lines
94 B
C

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