diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-06-30 08:31:19 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-06-30 08:31:19 +0000 |
commit | a3fc203fc3918ed46b80016bb6dc8662ff0185d8 (patch) | |
tree | 2572d33b5c3c07c13fa85aa436be2b3d17eb990b /src/tan.c | |
parent | 3ae400f3825b869ee1fdca4cf13888366119ffe0 (diff) | |
download | mpc-a3fc203fc3918ed46b80016bb6dc8662ff0185d8.tar.gz |
configure.ac: reset ISO C89 as compiler default mode.
src/mpc-impl.h: use dummy macro with double bracket avoiding need for variadic
macros when the compiler is following ISO C89 standard.
src/tan.c: use new MPC_LOG_MSG macro.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@155 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/tan.c')
-rw-r--r-- | src/tan.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -185,7 +185,7 @@ mpc_tan (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) mpc_set_prec (x, prec); mpc_set_prec (y, prec); - MPC_LOG_MSG ("loop prec=%ld", prec); + MPC_LOG_MSG (("loop prec=%ld", prec)); /* rounding away from zero: except in the cases x=0 or y=0 (processed above), sin x and cos y are never exact, so rounding away from 0 is @@ -239,7 +239,7 @@ mpc_tan (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) || mpfr_can_round (MPC_IM(x), prec - 6, GMP_RNDN, MPC_RND_IM(rnd), MPFR_PREC(MPC_IM(rop))); } - MPC_LOG_MSG ("err: %ld", err); + MPC_LOG_MSG (("err: %ld", err)); MPC_LOG_VAR (x); } while (ok == 0); |