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
* builtins.def: Break out _Complex math functions into their
[official-gcc.git]
/
libf2c
/
libF77
/
i_dnnt.c
blob
7a3783d29e2ae2f73e2b486aefedbb58d6e3fc3b
1
#include
"f2c.h"
2
3
#undef abs
4
#include <math.h>
5
integer
6
i_dnnt
(
doublereal
*
x
)
7
{
8
return
(
integer
) (*
x
>=
0
. ?
floor
(*
x
+
.5
) : -
floor
(
.5
- *
x
));
9
}