summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2021-02-09 10:22:35 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2021-02-09 10:22:35 +0000
commite12606c7e44ec8ad6db7f8853d1bc779292a3149 (patch)
tree8be58a5e318e486bc34784450621f9a808723543 /tests
parent5513f99cb5d901c9b865a054841666cf1f852d50 (diff)
downloadmpfr-e12606c7e44ec8ad6db7f8853d1bc779292a3149.tar.gz
added mpfr_pow_uj and mpfr_pow_sj
now mpfr_pown is an alias for mpfr_pow_sj git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14412 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tpow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tpow.c b/tests/tpow.c
index 6a3192b21..50d04e4c7 100644
--- a/tests/tpow.c
+++ b/tests/tpow.c
@@ -21,6 +21,7 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
#define _MPFR_NO_DEPRECATED_ROOT
+#define MPFR_NEED_INTMAX_H
#include "mpfr-test.h"
#ifdef CHECK_EXTERNAL
@@ -360,6 +361,7 @@ check_pow_si (void)
static void
check_pown_ieee754_2019 (void)
{
+#ifdef _MPFR_H_HAVE_INTMAX_T
mpfr_t x;
mpfr_init2 (x, 5); /* ensures 17 is exact */
@@ -458,6 +460,7 @@ check_pown_ieee754_2019 (void)
MPFR_ASSERTN(mpfr_zero_p (x) && mpfr_signbit (x) == 0);
mpfr_clear (x);
+#endif
}
static void