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