diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-02-11 17:01:15 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-02-11 17:01:15 +0000 |
commit | 00c03d0e3897e69478d60c0ff13fce9c7081aaa8 (patch) | |
tree | 1c4c50fe7dfc7e25ab70ffbc77f84a953e471691 /set_f.c | |
parent | 35569e37d387d8addc02eafc0a106f2a8c85f2ad (diff) | |
download | mpfr-00c03d0e3897e69478d60c0ff13fce9c7081aaa8.tar.gz |
unsigned char -> mp_rnd_t
SIGN -> MPFR_SIGN
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@457 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set_f.c')
-rw-r--r-- | set_f.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,12 +27,12 @@ MA 02111-1307, USA. */ void #if __STDC__ -mpfr_set_f(mpfr_ptr y, mpf_srcptr x, char rnd_mode) +mpfr_set_f(mpfr_ptr y, mpf_srcptr x, mp_rnd_t rnd_mode) #else mpfr_set_f(y, x, rnd_mode) mpfr_ptr y; mpf_srcptr x; - char rnd_mode; + mp_rnd_t rnd_mode; #endif { mp_limb_t *my, *mx, *tmp; unsigned long cnt, sx, sy; @@ -47,7 +47,7 @@ mpfr_set_f(y, x, rnd_mode) count_leading_zeros(cnt, mx[sx - 1]); - if (SIZ(x)*SIGN(y)<0) CHANGE_SIGN(y); + if (SIZ(x)*MPFR_SIGN(y)<0) CHANGE_SIGN(y); if (sy < sx) { |