summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2007-09-05 08:12:11 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2007-09-05 08:12:11 +0000
commit261190c365b55a16daf3e6c3e5143bc2053bd183 (patch)
tree258c6eb4ced85f44b6510e3eb4a654fd1a9002b1
parent7d0f87188062fc03416290c13c98b258f7d81db5 (diff)
downloadmpc-261190c365b55a16daf3e6c3e5143bc2053bd183.tar.gz
added inclusion of gmp.h and mpfr.h to mpc.h, updated documentation
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@58 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r--mpc.h1
-rw-r--r--mpc.texi7
2 files changed, 3 insertions, 5 deletions
diff --git a/mpc.h b/mpc.h
index 28947f7..ffdcf33 100644
--- a/mpc.h
+++ b/mpc.h
@@ -27,6 +27,7 @@ MA 02111-1307, USA. */
# define _MPC_H_HAVE_FILE 1
#endif
+#include "gmp.h"
#include "mpfr.h"
/* Return values */
diff --git a/mpc.texi b/mpc.texi
index eebe76b..5bbea6c 100644
--- a/mpc.texi
+++ b/mpc.texi
@@ -298,12 +298,9 @@ the language needs to be improved, please send a note to the same address.
@cindex @file{mpc.h}
All declarations needed to use MPC are collected in the include file
@file{mpc.h}. It is designed to work with both C and C++ compilers.
-You should include that file in any program using the MPC library.
-As MPC is based on the MPFR library, itself based on GNU MP, you
-should also include the corresponding header files in the following order:
+You should include that file in any program using the MPC library
+by adding the line
@example
- #include "gmp.h"
- #include "mpfr.h"
#include "mpc.h"
@end example