home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_04
/
1004010c
< prev
next >
Wrap
Text File
|
1992-03-04
|
148b
|
8 lines
/* labs function */
#include <stdlib.h>
long (labs)(long i)
{ /* compute absolute value of long argument */
return ((i < 0) ? -i : i);
}