summaryrefslogtreecommitdiff
path: root/add.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-03-23 15:38:20 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-03-23 15:38:20 +0000
commitd41e52df79694140d405bcfd8d3e22adc29de5d4 (patch)
treefffda71053cb4b78fc6310a8dbf959782490dd71 /add.c
parent9c6c28f574e6e52a892bdec3cf2c7c553f715dbc (diff)
downloadmpfr-d41e52df79694140d405bcfd8d3e22adc29de5d4.tar.gz
Added log support for mpfr_add and mpfr_sub.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4387 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'add.c')
-rw-r--r--add.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/add.c b/add.c
index c74cf0201..462dd9331 100644
--- a/add.c
+++ b/add.c
@@ -25,6 +25,9 @@ MA 02110-1301, USA. */
int
mpfr_add (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode)
{
+ MPFR_LOG_FUNC (("b[%#R]=%R c[%#R]=%R rnd=%d", b, b, c, c, rnd_mode),
+ ("a[%#R]=%R", a, a));
+
if (MPFR_ARE_SINGULAR(b,c))
{
if (MPFR_IS_NAN(b) || MPFR_IS_NAN(c))