diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-02-11 17:16:36 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-02-11 17:16:36 +0000 |
commit | df588f2e0ef1e176cb1ea6bf020b4be7df6dbdaf (patch) | |
tree | 53eb40d88d344756931d7772ead445fe4565a6bd /cmp.c | |
parent | a680e87f76c00fe4790b09955d8cb6639eefa59a (diff) | |
download | mpfr-df588f2e0ef1e176cb1ea6bf020b4be7df6dbdaf.tar.gz |
SIGN -> MPFR_SIGN
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@470 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'cmp.c')
-rw-r--r-- | cmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -54,13 +54,13 @@ mpfr_cmp3(b, c, s) mp_limb_t *bp, *cp; if (!NOTZERO(b) && !NOTZERO(c)) { return 0; } - s = s*SIGN(b)*SIGN(c); - if (s<0) return(SIGN(b)); + s = s * MPFR_SIGN(b) * MPFR_SIGN(c); + if (s<0) return(MPFR_SIGN(b)); /* now signs are equal */ diff_exp = EXP(b)-EXP(c); - s = (SIGN(b)>0) ? 1 : -1; + s = (MPFR_SIGN(b) > 0) ? 1 : -1; if (diff_exp>0) return(s*(1+diff_exp)); else if (diff_exp<0) return(s*(-1+diff_exp)); |