summaryrefslogtreecommitdiff
path: root/min_prec.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-03-16 09:32:21 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-03-16 09:32:21 +0000
commit714200df7fb237d46f93ddaf04f4d090bd5f92be (patch)
treec4d0f8579b8a550089797066f31329fbf61f43dc /min_prec.c
parent8d0f3e11edf0c02e09da5413824c3c07c4a7be24 (diff)
downloadmpfr-714200df7fb237d46f93ddaf04f4d090bd5f92be.tar.gz
Fixed the prototype of mpfr_min_prec (should return a mpfr_prec_t)
and its description. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6107 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'min_prec.c')
-rw-r--r--min_prec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/min_prec.c b/min_prec.c
index fb6c5111c..03fb9b22b 100644
--- a/min_prec.c
+++ b/min_prec.c
@@ -22,13 +22,13 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-impl.h"
-int
+mpfr_prec_t
mpfr_min_prec (mpfr_srcptr x)
{
mp_limb_t *mx;
- mp_prec_t px;
+ mpfr_prec_t px, res;
mp_size_t n;
- int res, i;
+ int i;
if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (x)))
return 0;