Sign in
gnu
/
gcc
/
refs/tags/misc/start
/
.
/
gcc
/
f
/
runtime
/
libF77
/
d_abs.c
blob: cb157e067b73f6ebba1fd43e0dbbece95067dea9 [
file
] [
log
] [
blame
]
#include
"f2c.h"
#ifdef
KR_headers
double
d_abs
(
x
)
doublereal
*
x
;
#else
double
d_abs
(
doublereal
*
x
)
#endif
{
if
(*
x
>=
0
)
return
(*
x
);
return
(-
*
x
);
}