summaryrefslogtreecommitdiff
path: root/gnu/egcs/libf2c/libF77/r_nint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/libf2c/libF77/r_nint.c')
-rw-r--r--gnu/egcs/libf2c/libF77/r_nint.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gnu/egcs/libf2c/libF77/r_nint.c b/gnu/egcs/libf2c/libF77/r_nint.c
deleted file mode 100644
index f5382af660a..00000000000
--- a/gnu/egcs/libf2c/libF77/r_nint.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "f2c.h"
-
-#ifdef KR_headers
-double floor();
-double r_nint(x) real *x;
-#else
-#undef abs
-#include <math.h>
-double r_nint(real *x)
-#endif
-{
-return( (*x)>=0 ?
- floor(*x + .5) : -floor(.5 - *x) );
-}