summaryrefslogtreecommitdiff
path: root/sqrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sqrt.c')
-rw-r--r--sqrt.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sqrt.c b/sqrt.c
index d2d378ce8..1061a8bfe 100644
--- a/sqrt.c
+++ b/sqrt.c
@@ -19,9 +19,7 @@ along with the MPFR Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
-#include "gmp.h"
-#include "gmp-impl.h"
-#include "mpfr.h"
+
#include "mpfr-impl.h"
/* #define DEBUG */
@@ -252,6 +250,9 @@ mpfr_sqrt (mpfr_ptr r, mpfr_srcptr u, mp_rnd_t rnd_mode)
t != 0 ?
MP_LIMB_T_ONE << (BITS_PER_MP_LIMB - t) :
MP_LIMB_T_ONE);
+ break;
+ default:
+ MPFR_ASSERTN(0);
}
}