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
* tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
[official-gcc.git]
/
libf2c
/
libF77
/
r_abs.c
blob
7b222961d16dc05806ee1ca2e19551315f2f6461
1
#include
"f2c.h"
2
3
#ifdef KR_headers
4
double
r_abs
(
x
)
real
*
x
;
5
#else
6
double
r_abs
(
real
*
x
)
7
#endif
8
{
9
if
(*
x
>=
0
)
10
return
(*
x
);
11
return
(- *
x
);
12
}