diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-05-31 12:39:19 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-05-31 12:39:19 +0000 |
commit | 14c7b9c9283214c2b9da2f5f439c96d27ace307d (patch) | |
tree | 12e254eed3be0e239f45ec1f60b965d382d731ea /tools/mbench | |
parent | 7f38924e9969ced91656b7bf45408776070e8102 (diff) | |
download | mpfr-14c7b9c9283214c2b9da2f5f439c96d27ace307d.tar.gz |
added expm1 to mbench
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11555 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools/mbench')
-rw-r--r-- | tools/mbench/mfv5-mpfr.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/mbench/mfv5-mpfr.cc b/tools/mbench/mfv5-mpfr.cc index f9365a5a5..65bacb6b5 100644 --- a/tools/mbench/mfv5-mpfr.cc +++ b/tools/mbench/mfv5-mpfr.cc @@ -175,6 +175,12 @@ public: return mpfr_exp (a,b,r); } }; +class mpfr_expm1_test { +public: + int func (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t r) { + return mpfr_expm1 (a,b,r); + } +}; class mpfr_log_test { public: int func (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t r) { @@ -305,6 +311,7 @@ static mpfr_test<mpfr_acos_test> testD ("mpfr_acos"); static mpfr_test<mpfr_asin_test> testE ("mpfr_asin"); static mpfr_test<mpfr_atan_test> testF ("mpfr_atan"); static mpfr_test<mpfr_log1p_test> testG ("mpfr_log1p"); +static mpfr_test<mpfr_expm1_test> testH ("mpfr_expm1"); static mpfr_test<mpfr_cosh_test> testAh ("mpfr_cosh"); static mpfr_test<mpfr_sinh_test> testBh ("mpfr_sinh"); |