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
PR opt/10056
[official-gcc.git]
/
libf2c
/
libF77
/
d_int.c
blob
f7ab8b0cb6a3d0aefbd08cc119eac7ec7a165f7c
1
#include
"f2c.h"
2
3
#undef abs
4
#include <math.h>
5
double
6
d_int
(
doublereal
*
x
)
7
{
8
return
((*
x
>
0
) ?
floor
(*
x
) : -
floor
(-*
x
));
9
}