gcc/libf2c/libF77/i_abs.c

10 lines
98 B
C

#include "f2c.h"
integer
i_abs (integer * x)
{
if (*x >= 0)
return (*x);
return (-*x);
}