diff options
author | daney <daney@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-10-17 15:42:10 +0000 |
---|---|---|
committer | daney <daney@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-10-17 15:42:10 +0000 |
commit | 91416b09f1299232e471b2b7a133d3c2390adb99 (patch) | |
tree | 16aa577181d7444352229939918273bb47801cc1 /cosh.c | |
parent | 4486877c948d3f1707099b289291c08932fc908c (diff) | |
download | mpfr-91416b09f1299232e471b2b7a133d3c2390adb99.tar.gz |
correct few things
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1282 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cosh.c')
-rw-r--r-- | cosh.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -45,7 +45,7 @@ mpfr_cosh (y, xt, rnd_mode) /****** Declaration ******/ mpfr_t x; mp_prec_t Nxt = MPFR_PREC(xt); - int flag_neg=0, inexact =0; + int inexact =0; if (MPFR_IS_NAN(xt)) { @@ -70,10 +70,10 @@ mpfr_cosh (y, xt, rnd_mode) mpfr_init2(x,Nxt); mpfr_set(x,xt,GMP_RNDN); - if(MPFR_SIGN(x)<0){ - MPFR_CHANGE_SIGN(x); - flag_neg=1; - } + if(MPFR_SIGN(x)<0) + { + MPFR_CHANGE_SIGN(x); + } /* General case */ { |