diff options
author | Andy Wingo <wingo@pobox.com> | 2011-07-28 17:59:56 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-07-28 17:59:56 +0200 |
commit | bd61f2e64f745851ff6f0b477ade14a8c2880565 (patch) | |
tree | ed0a26333e0032b7d45992345254d24c2d3136f6 | |
parent | 74ec8d786fd0abd8e2818b373ef8bc7d36fee8ad (diff) | |
download | guile-bd61f2e64f745851ff6f0b477ade14a8c2880565.tar.gz |
remove dead code in scm_ceiling_quotient
* libguile/numbers.c (scm_ceiling_quotient): Remove dead code. See
http://article.gmane.org/gmane.lisp.guile.devel/12685.
-rw-r--r-- | libguile/numbers.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libguile/numbers.c b/libguile/numbers.c index 5aeced6ca..14f4af17c 100644 --- a/libguile/numbers.c +++ b/libguile/numbers.c @@ -1500,8 +1500,6 @@ SCM_PRIMITIVE_GENERIC (scm_ceiling_quotient, "ceiling-quotient", 2, 0, 0, if (SCM_LIKELY (xx >= 0)) xx1 = xx + yy - 1; } - else if (SCM_UNLIKELY (yy == 0)) - scm_num_overflow (s_scm_ceiling_quotient); else if (xx < 0) xx1 = xx + yy + 1; qq = xx1 / yy; |