summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-12-06 14:16:33 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-12-06 14:16:33 +0000
commit80b62338f56ff2a3bc1fcae29a14ae43cbe517e6 (patch)
tree6c61a5fa9ac350c602aee5a32cc2f92206c88e5e /tools
parent4c3a36ee9374cbd58eb0b8fd71b790a3ede5337c (diff)
downloadmpfr-80b62338f56ff2a3bc1fcae29a14ae43cbe517e6.tar.gz
added mpfr_pow
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10970 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools')
-rw-r--r--tools/mbench/mfv5-mpfr.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/mbench/mfv5-mpfr.cc b/tools/mbench/mfv5-mpfr.cc
index c36ed029d..3d667429b 100644
--- a/tools/mbench/mfv5-mpfr.cc
+++ b/tools/mbench/mfv5-mpfr.cc
@@ -254,6 +254,12 @@ public:
return mpfr_atanh (a,b,r);
}
};
+class mpfr_pow_test {
+public:
+ int func (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t r) {
+ return mpfr_pow (a,b,c,r);
+ }
+};
class mpfr_get_ld_test {
long double ld;
public:
@@ -295,6 +301,7 @@ static mpfr_test<mpfr_tanh_test> testCh ("mpfr_tanh");
static mpfr_test<mpfr_acosh_test> testDh ("mpfr_acosh");
static mpfr_test<mpfr_asinh_test> testEh ("mpfr_asinh");
static mpfr_test<mpfr_atanh_test> testFh ("mpfr_atanh");
+static mpfr_test<mpfr_pow_test> testGh ("mpfr_pow");
static mpfr_test<mpfr_get_ld_test> testFj ("mpfr_get_ld");