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
* cppfiles.c (_cpp_execute_include): Move `len` initialisation
[official-gcc.git]
/
libf2c
/
libF77
/
d_int.c
blob
beff1e7d3781d16ee8c7826f774d60e8fa5a743d
1
#include
"f2c.h"
2
3
#ifdef KR_headers
4
double
floor
();
5
double
d_int
(
x
)
doublereal
*
x
;
6
#else
7
#undef abs
8
#include <math.h>
9
double
d_int
(
doublereal
*
x
)
10
#endif
11
{
12
return
( (*
x
>
0
) ?
floor
(*
x
) : -
floor
(- *
x
) );
13
}