public
/
Ack-5.5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pristine Ack-5.5
[Ack-5.5.git]
/
lang
/
cem
/
libcc.ansi
/
stdlib
/
labs.c
1
/*
2
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3
* See the copyright notice in the ACK home directory, in the file "Copyright".
4
*/
5
/* $Id: labs.c,v 1.2 1994/06/24 11:53:44 ceriel Exp $ */
6
7
#include <stdlib.h>
8
9
long
10
labs(register long l)
11
{
12
return l >= 0 ? l : -l;
13
}