summaryrefslogtreecommitdiff
path: root/bin86-0.3/bccfp/modf.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin86-0.3/bccfp/modf.c')
-rw-r--r--bin86-0.3/bccfp/modf.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/bin86-0.3/bccfp/modf.c b/bin86-0.3/bccfp/modf.c
deleted file mode 100644
index a83f801..0000000
--- a/bin86-0.3/bccfp/modf.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * bin86/bccfp/modf.c
- *
- * Copyright (C) 1992 Bruce Evans
- */
-
-#include <math.h>
-
-/* Slooow version. */
-
-double modf(x, pint)
-double x;
-double *pint;
-{
- if (x >= 0)
- *pint = floor(x);
- else
- *pint = ceil(x);
- return x - *pint;
-}