Sign in
gnu
/
gcc
/
5aff8e796871e8cf53bded3a439b4fcec810a6f4
/
.
/
gcc
/
f
/
runtime
/
libF77
/
d_int.c
blob: beff1e7d3781d16ee8c7826f774d60e8fa5a743d [
file
] [
log
] [
blame
]
#include
"f2c.h"
#ifdef
KR_headers
double
floor
();
double
d_int
(
x
)
doublereal
*
x
;
#else
#undef
abs
#include
<math.h>
double
d_int
(
doublereal
*
x
)
#endif
{
return
(
(*
x
>
0
)
?
floor
(*
x
)
:
-
floor
(-
*
x
)
);
}