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

12 lines
117 B
C

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