ack/lang/fortran/lib/libF77/i_abs.c
1991-10-07 16:59:33 +00:00

10 lines
90 B
C

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