summaryrefslogtreecommitdiff
path: root/pow.c
diff options
context:
space:
mode:
Diffstat (limited to 'pow.c')
-rw-r--r--pow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pow.c b/pow.c
index 862430aa4..d98c8155f 100644
--- a/pow.c
+++ b/pow.c
@@ -437,6 +437,10 @@ mpfr_pow (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mp_rnd_t rnd_mode)
}
/* General case */
+ /* FIXME: handle the case where x is negative (which implies that y is
+ a very large integer). One needs to take the absolute value of x and
+ update the error analysis because one can have Nt < PREC(x). The sign
+ of the result is obtained from MPFR_IS_NEG (x) && is_odd (y). */
{
/* Declaration of the intermediary variable */
mpfr_t t, u, k;