diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-03-23 15:38:20 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-03-23 15:38:20 +0000 |
commit | d41e52df79694140d405bcfd8d3e22adc29de5d4 (patch) | |
tree | fffda71053cb4b78fc6310a8dbf959782490dd71 /add.c | |
parent | 9c6c28f574e6e52a892bdec3cf2c7c553f715dbc (diff) | |
download | mpfr-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)) |