P8000/WEGA/contrib/lcc/lib/libc/port/gen/abs.c

7 lines
68 B
C

int
abs(arg)
register int arg;
{
return (arg >= 0 ? arg : -arg);
}