diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-05-21 01:11:04 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-05-21 01:11:04 +0200 |
commit | 7be944ecef7f8489d0c4eec0bacbb1440faf5d50 (patch) | |
tree | 310093a08c1268892d8fe2a8e73498af60b8ffba /mpz/powm_ui.c | |
parent | 79d3458a91f63deeb5fd54c9c48c70a294769255 (diff) | |
download | gmp-7be944ecef7f8489d0c4eec0bacbb1440faf5d50.tar.gz |
* mpz/powm_ui.c: Use DIVIDE_BY_ZERO.
Diffstat (limited to 'mpz/powm_ui.c')
-rw-r--r-- | mpz/powm_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/powm_ui.c b/mpz/powm_ui.c index 924c7c143..efa13c4ec 100644 --- a/mpz/powm_ui.c +++ b/mpz/powm_ui.c @@ -51,7 +51,7 @@ mpz_powm_ui (res, base, exp, mod) rp = res->_mp_d; if (msize == 0) - msize = 1 / msize; /* provoke a signal */ + DIVIDE_BY_ZERO; if (exp == 0) { |