diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-12-08 08:46:31 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-12-08 08:46:31 +0000 |
commit | 9e3649c443a284c8727f9bb0f191f70d25c3146f (patch) | |
tree | 1205e1bb5d425ba3bd75603f19c14bb45c631df8 /tools | |
parent | 0df59138e7266c116ca7fb64cc0eb58d389472f8 (diff) | |
download | mpfr-9e3649c443a284c8727f9bb0f191f70d25c3146f.tar.gz |
[mbench] use mpfr_printf to print test numbers
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10990 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mbench/mfv5.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mbench/mfv5.cc b/tools/mbench/mfv5.cc index 023df33f5..e83f86760 100644 --- a/tools/mbench/mfv5.cc +++ b/tools/mbench/mfv5.cc @@ -93,7 +93,7 @@ build_base (vector<string> &base, const option_test &opt) fprintf (f, "%s\n", buffer); base.push_back (buffer); if (opt.verbose) - cout << "[" << i << "] = " << buffer << endl; + mpfr_printf ("[%lu] = %Re\n", i, x); free (buffer); mpfr_free_str ((char*)str); } |