diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 16:35:19 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-08-18 16:35:19 +0000 |
commit | bab5aab404897a12fe1c87734ebf2aa270b9b73b (patch) | |
tree | 73ab96f558e7e0b4ef371902ead983189184a0f7 /set_q.c | |
parent | 8328a51518450ad8ddb86e38e7952e28065ff22a (diff) | |
download | mpfr-bab5aab404897a12fe1c87734ebf2aa270b9b73b.tar.gz |
Converted tabs to spaces with expand.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3725 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set_q.c')
-rw-r--r-- | set_q.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -77,16 +77,16 @@ mpfr_set_q (mpfr_ptr f, mpq_srcptr q, mp_rnd_t rnd) if (MPFR_UNLIKELY (mpz_sgn (num) == 0)) { if (MPFR_UNLIKELY (mpz_sgn (den) == 0)) - { - MPFR_SET_NAN (f); - MPFR_RET_NAN; - } + { + MPFR_SET_NAN (f); + MPFR_RET_NAN; + } else - { - MPFR_SET_ZERO (f); - MPFR_SET_POS (f); - MPFR_RET (0); - } + { + MPFR_SET_ZERO (f); + MPFR_SET_POS (f); + MPFR_RET (0); + } } if (MPFR_UNLIKELY (mpz_sgn (den) == 0)) { @@ -109,7 +109,7 @@ mpfr_set_q (mpfr_ptr f, mpq_srcptr q, mp_rnd_t rnd) if (MPFR_UNLIKELY (sn < MPFR_EMIN_MIN / BITS_PER_MP_LIMB -1)) { if (rnd == GMP_RNDN) - rnd = GMP_RNDZ; + rnd = GMP_RNDZ; inexact = mpfr_underflow (f, rnd, MPFR_SIGN (f)); goto end; } |