repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
configure.in: Add --enable-install-libiberty option.
[official-gcc.git]
/
libf2c
/
libF77
/
i_abs.c
blob
be21295aaa12246b28d8bfa9846eefdf3b28f47c
1
#include
"f2c.h"
2
3
#ifdef KR_headers
4
integer
i_abs
(
x
)
integer
*
x
;
5
#else
6
integer
i_abs
(
integer
*
x
)
7
#endif
8
{
9
if
(*
x
>=
0
)
10
return
(*
x
);
11
return
(- *
x
);
12
}