Sign in
gnu
/
gcc
/
5aff8e796871e8cf53bded3a439b4fcec810a6f4
/
.
/
gcc
/
f
/
runtime
/
libF77
/
r_abs.c
blob: 7b222961d16dc05806ee1ca2e19551315f2f6461 [
file
] [
log
] [
blame
]
#include
"f2c.h"
#ifdef
KR_headers
double
r_abs
(
x
)
real
*
x
;
#else
double
r_abs
(
real
*
x
)
#endif
{
if
(*
x
>=
0
)
return
(*
x
);
return
(-
*
x
);
}