summaryrefslogtreecommitdiff
path: root/mpf/set_q.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>1996-05-11 19:39:07 +0200
committertege <tege@gmplib.org>1996-05-11 19:39:07 +0200
commit8825b640c669f09243af6e2b3c54e5f3897b47b2 (patch)
tree281dd42a5a5ceddda415888cda5f352b9e133c57 /mpf/set_q.c
parenta2e989b2c867e4ae9aa7cba9873fb1770859f7bb (diff)
downloadgmp-8825b640c669f09243af6e2b3c54e5f3897b47b2.tar.gz
Misc cleanups.
Diffstat (limited to 'mpf/set_q.c')
-rw-r--r--mpf/set_q.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mpf/set_q.c b/mpf/set_q.c
index 86dc8b872..d6e95a916 100644
--- a/mpf/set_q.c
+++ b/mpf/set_q.c
@@ -1,4 +1,4 @@
-/* double mpf_set_q (mpf_t dst, mpq_t src) -- Convert the rational SRC to the float DST.
+/* mpf_set_q (mpf_t rop, mpq_t op) -- Convert the rational op to the float rop.
Copyright (C) 1996 Free Software Foundation, Inc.
@@ -23,8 +23,6 @@ MA 02111-1307, USA. */
#include "gmp-impl.h"
#include "longlong.h"
-#include <math.h>
-
/* Algorithm:
1. Develop >= n bits of src.num / src.den, where n is the number of bits
in a double. This (partial) division will use all bits from the