gcc/libf2c/libF77/h_abs.c

10 lines
100 B
C

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